I've written a script to check for Oracle's listener, eventman and pmon processes however there are several databases that startup which can take several minutes.
I'd like to add code to my current script that greps for the process �startup� and whether its condition is true or false. If the condition is true, the script will sleep for a time and then grep for the process �startup� again and again as needed. Once the condition is false the script will then execute the rest of the of code and check for the Oracle processes.
Can someone point me in the right direction?