Skip to content

Instantly share code, notes, and snippets.

@riywo
Created February 8, 2013 01:13
Show Gist options
  • Save riywo/4735767 to your computer and use it in GitHub Desktop.
Save riywo/4735767 to your computer and use it in GitHub Desktop.
How to parse /proc/PID/cmdline or /proc/PID/environ ?
$ cat /proc/self/cmdline | strings -1
cat
/proc/self/cmdline
@riywo
Copy link
Author

riywo commented Feb 8, 2013

Thanks @hito !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment