What's the FreeBSD (or Linux) equivalent to the 'pargs' command, available in Solaris? Many times I want to know what are the environment variables for a given process space, with no help from these systems.
Substitute the PID where "12345" is shown:
tr '\0' '\n' < /proc/12345/environ
ps eww -p 12345
Sign up using Google
Sign up using Facebook
Sign up using Stack Exchange
3 years ago