[hobbit] darwin "ps" display parsing in OS-X Tiger causes all procs to vanish in display

Henrik Stoerner henrik at hswn.dk
Tue Jul 25 23:02:53 CEST 2006


On Tue, Jul 25, 2006 at 03:52:38PM -0500, Brodie, Kent wrote:
> 
> OS-X 10.4 (procs display is broken)
> 
>   PID  PPID USER     STARTED STAT PRI %CPU      TIME %MEM    RSS
> VSZ COMMAND
>     1     0 root     13Jul06 S<s   32   0.0   0:17.23 -0.0    500 28348 /sbin/launchd
> 
> It's the first line that's causing the hobbit procs parsing to break.
> Specifically, the "S<s" status.     While I don't know enough OS-X tobe
> dangerous, I suspect it's a new type of process status under the latest
> Darwin.   The "<" in the status is normal, and this is causing the procs
> parsing in hobbit to cut off everything beyond that.

> This of course makes any procs check useless (in my case,I was checking
> for simple things, like "cron", etc - and the test fails of course,
> since there's no such (or any other!) process listed..................

I can see why it would stop it from appearing on the web page (since
your browser then interprets everything after the '<' as an unknown
- very large - HTML tag. But the client parsing code works regardless of
this, and should handle the process listing just fine.

Could you verify if the following URL
 http://www.hswn.dk/hobbit-cgi/bb-hostsvc.sh?CLIENT=voodoo.hswn.dk&section=ps
(adapted to match you Hobbit server hostname and the OSX client name, of
course) returns the full "ps" listing, or only a part of it?


Regards,
Henrik




More information about the Xymon mailing list