From: Ken Felmly (kfelmly@h40a.resva.trw.com)
Date: Wed May 07 2003 - 11:21:41 EDT
Hi.
I am trying to run a monitor script that checks for all the Oracle sids
and the listener.
MUSTRUN = "ora_pmon ora_smon ora_lgwr LISTENER"
ALLPROCS=`ps -ef`
the ps -ef |grep -q " $Process$ returns a 0 for all the "ora_" but the
LISTENER returns a 1 blowing out the script.
Near as I can figure, the ps -ef only sees the last entry in the ps -ef
command (field 9).
When I put the word "-inherit" (field 10) the script returns a 0 for all
procs.
What am I missing?
Thanks
-- ---> Please post QUESTIONS and SUMMARIES only!! <--- To subscribe/unsubscribe to this list, contact majordomo@dutchworks.nl Name: hpux-admin@dutchworks.nl Owner: owner-hpux-admin@dutchworks.nl Archives: ftp.dutchworks.nl:/pub/digests/hpux-admin (FTP, browse only) http://www.dutchworks.nl/htbin/hpsysadmin (Web, browse & search)
This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 11:02:29 EDT