Xymon Mailing List Archive search

FreeBSD 6.1 and PS and COMMAND

list Henrik Størner
Mon, 26 Jun 2006 14:28:25 +0200
Message-Id: <user-38ac4318aa29@xymon.invalid>

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