[hobbit] last two snapshots, problems with ps parsing?
Henrik,
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?
Regards,
Chris
-----Original Message----- From: henrik at hswn.dk [SMTP:henrik at hswn.dk] Sent: Tuesday, August 08, 2006 6:34 AM To: hobbit at hswn.dk Subject: Re: [hobbit] last two snapshots, problems with ps parsing?
On Tue, Aug 08, 2006 at 02:44:04AM +0000, David Gore wrote:
Last two snapshots August 7th and 8th have had problems parsing 'ps' for all hosts:
Expected string CMD not found in ps output header
Could you send me a copy of the ~hobbit/client/tmp/msg*txt file from that host ? There were some changes done to the ps-handler recently, but it should still be looking for both "CMD" and "COMMAND" as the heading for the commandline.
I have the client running on Linux, Solaris 8 and 10 and FreeBSD - and it works fine with those.
Regards, Henrik
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
The information contained in this email is intended only for the use of the intended recipient at the email address to which it has been addressed. If the reader of this message is not an intended recipient, you are hereby notified that you have received this document in error and that any review, dissemination or copying of the message or associated attachments is strictly prohibited.
If you have received this email in error, please contact the sender by return email or call 01793 877777 and ask for the sender and then delete it immediately from your system.Please note that neither RWE npower nor the sender accepts any responsibility for viruses and it is your responsibility to scan attachments (if any).
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
participants (2)
-
CHRIS.MORRIS@RWEnpower.com
-
henrik@hswn.dk