Xymon Mailing List Archive search

FreeBSD 6.1 and PS and COMMAND

list Dave Overton
Mon, 26 Jun 2006 10:01:52 -0700
Message-Id: <018b01c69942$38cba800$user-77349d5d7986@xymon.invalid>

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