[hobbit] FreeBSD 6.1 and PS and COMMAND

Dave Overton dave at syix.com
Mon Jun 26 19:01:52 CEST 2006


> 
> There is the problem, and my information was incorrect.
> 
> Freebsd 4.11 returns this with the command string:
> ps -ax -ww -o 
> pid,ppid,user,start,state,pri,pcpu,cputime,pmem,rss,vsz,args
> ps: args: keyword not found
>   PID  PPID USER    STARTED STAT PRI %CPU      TIME %MEM  RSS   VSZ
>     0     0 root    31Aug05 DLs  -18  0.0   0:04.53  0.0    0     0
> 
> Freebsd 6.1 returns: (as expected)
> ps -ax -ww -o 
> pid,ppid,user,start,state,pri,pcpu,cputime,pmem,rss,vsz,args
>   PID  PPID USER   STARTED STAT PRI %CPU      TIME %MEM   RSS 
>   VSZ COMMAND
>     0     0 root   17Jun06 WLs   98  0.0   0:00.00  0.0     0     0
> [swapper]


Answering myself.  Changing the string in the "hobbitclient-freebsd.sh" file
to the same one found in the  "hobbitclient-darwin.sh" fixed it to work on
both systems.

Thanks for heading me in the right direction.

Dave





More information about the Xymon mailing list