[hobbit] process checks and user IDs

shea_greg at emc.com shea_greg at emc.com
Tue Jul 25 23:10:22 CEST 2006


The stock 'ps' from Solaris can use the -o option for format
So a command like, ps -eo user,pid,args would give you:
raditz#66 <Grs> ps -eo user,pid,args
    USER   PID COMMAND
    root     0 sched
    root     1 /etc/init -
    root     2 pageout
    root     3 fsflush
    root  1076 /usr/lib/saf/sac -t 300
    root   342 /usr/apache/bin/httpd
    root   221 /usr/sbin/cron
...

HTH
-Grs-
-----Original Message-----
From: Charles Jones -X (charljon - Cisco Learning Institute at Cisco)
[mailto:charljon at cisco.com] 
Sent: Tuesday, July 25, 2006 3:22 PM
To: hobbit at hswn.dk
Subject: RE: [hobbit] process checks and user IDs

I don't know if it helps, but on Solaris you can usually use /usr/ucb/ps
instead of the normal ps, which has similar options to the linux ps,
including the -w (wide output) flags which will show full process names.
 
-Charles

________________________________

From: Gary B. [mailto:gmbfly98 at gmail.com]
Sent: Tue 7/25/2006 12:18 PM
To: hobbit at hswn.dk
Subject: [hobbit] process checks and user IDs



I've looked through all the documentation, and can't find any
information on how Hobbit processes the process check rules.

I ask because we have some BB process check rules that check for user
IDs in the ps output, rather than an actual process, and there's no
real way of converting that into Hobbit.  Also, the Solaris ps output
doesn't include the full process name, so I can't check for the
process that way either.

Any suggestions?

To unsubscribe from the hobbit list, send an e-mail to
hobbit-unsubscribe at hswn.dk






More information about the Xymon mailing list