You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi Tanel,
Is the cmdline option supposed to include the full command line of a process? It looks like I am getting the process name (or path to it) instead of /proc/< pid >/cmdline
RHEL 7.9
The text was updated successfully, but these errors were encountered:
Right now it only includes the 1st \0-delimited string of the full cmdline. Linux /proc/PID/cmdline is a list of \0-terminated strings, so conveniently the command name is just the 1st string to extract out of it.
I could add either a column cmdline2 or cmdargs that would replace the \0s with spaces and printed out the whole thing (it could get very wide though).
Hi Tanel,
Is the cmdline option supposed to include the full command line of a process? It looks like I am getting the process name (or path to it) instead of /proc/< pid >/cmdline
RHEL 7.9
The text was updated successfully, but these errors were encountered: