[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] darwin "ps" display parsing in OS-X Tiger causes all procs to vanish in display
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] darwin "ps" display parsing in OS-X Tiger causes all procs to vanish in display
- From: henrik (at) hswn.dk (Henrik Stoerner)
- Date: Tue, 25 Jul 2006 23:02:53 +0200
- References: <8F78639AC56F4143B267FE5F5A1B92C88C186C@guyton.phys.mcw.edu>
- User-agent: Mutt/1.5.11
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§ion=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