[hobbit] bug report: hobbit client for solaris can't report zombie process

Haertig, David F (Dave) haertig at avaya.com
Thu Jul 26 17:32:17 CEST 2007


My guess is "yes".  You can see the way ps was originally called
specifies the output columns.  These are specific columns in a specific
order, and I'm sure the parser on the server side is depending on that.
"ps -eaf" does not spit out the same columns in the same order ... so I
think you're walking on pretty thin ice.

-----Original Message-----
From: T.J. Yang [mailto:tj_yang at hotmail.com] 
Sent: Thursday, July 26, 2007 9:19 AM
To: hobbit at hswn.dk
Subject: [hobbit] bug report: hobbit client for solaris can't report
zombie process


The existing ps command in hobbit-client-sunos.sh won't report zombie
processes.
I changed the long ps -A command to just "ps -eaf" and it can report the
zombie now.

Question is will "ps -eaf" break anything on hobbit server side ?


root at login3> diff hobbitclient-sunos.sh  hobbitclient-sunos.orig
55,56c55,56
< #ps -A -o pid,ppid,user,stime,s,pri,pcpu,time,pmem,rss,vsz,args
< ps -eaf
---
>ps -A -o pid,ppid,user,stime,s,pri,pcpu,time,pmem,rss,vsz,args
>
root at login3>


T.J. Yang

_________________________________________________________________
http://newlivehotmail.com


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



More information about the Xymon mailing list