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
|