Xymon Mailing List Archive search

last two snapshots, problems with ps parsing?

list Henrik Størner
Tue, 8 Aug 2006 14:24:28 +0200
Message-Id: <user-c97419209149@xymon.invalid>

On Tue, Aug 08, 2006 at 10:06:58AM +0100, Morris, Chris (Shared Services) wrote:
linux 
[ps]
  PID  PPID USER      STARTED S PRI %CPU     TIME %MEM  RSZ   VSZ CMD

AIX
[ps]
  PID  PPID     USER S PRI  %CPU        TIME     ELAPSED  %MEM   VSZ COMMAND

Solaris 5.8
[ps]
  PID  PPID     USER    STIME S PRI %CPU        TIME %MEM  RSS  VSZ COMMAND

Does the parsing look for COMMAND as the 11th variable and CMD as the 12th?
No, it looks for either CMD or COMMAND in the header line and determines
the offset that the commandline string has based on where that text
appears in the header.

That's why I asked for your client's ~hobbit/client/tmp/msg*.txt file.
Or at least a file with the output from 
   bb 127.0.0.1 "clientlog HOSTNAME section=ps"


Regards,
Henrik