pcp
[Top] [All Lists]

proc.psinfo.psargs and arguments

To: pcp@xxxxxxxxxxx
Subject: proc.psinfo.psargs and arguments
From: Mike Mason <mmlnx@xxxxxxxxxx>
Date: 16 Apr 2002 11:06:08 -0700
Sender: owner-pcp@xxxxxxxxxxx
Is proc.psinfo.psargs supposed to pass back the command name and
arguments or just the command name?  In the code it looks like the
intention is to include both the command and arguments from
/proc/<pid>/cmdline.  But since cmdline outputs this info as individual
null-terminated strings, we only ever see the command name.  Is this
intentional?

I need to get the arguments as well as the command from PCP.  Changing
proc.psinfo.psargs make break existing apps that are dependent on its
current behavior.  Should I fix proc.psinfo.psargs or add another
metric?

Mike 




<Prev in Thread] Current Thread [Next in Thread>