[hobbit] FreeBSD 6.1 and PS and COMMAND

Henrik Stoerner henrik at hswn.dk
Mon Jun 26 14:28:25 CEST 2006


On Wed, Jun 21, 2006 at 11:57:56AM -0700, Dave Overton wrote:
> I am running FreeBSD 6.1 Release, Hobbit with the patches on the website
> today, and a bit frustrated.
[snip]
> Expected string COMMAND not found in ps output header

> So, I go looking...  Can't find where PS is told to do this!!!  Argh.  A bit
> of guidance, like what file tells PS to read those columns?  and why does it
> hate the COMMAND column?

The "ps" command that the Hobbit client runs is in the
~hobbit/client/hobbitclient-freebssd.sh script. It was recently changed
to provide a specific set of columns and therefore now is

ps -ax -ww -o pid,ppid,user,start,state,pri,pcpu,cputime,pmem,rss,vsz,args

Last I tested this, it did provide the "COMMAND" column. Maybe this has
changed in 6.1 ?


Regards,
Henrik




More information about the Xymon mailing list