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.
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:
or
Here's a complete solution using ps version 3.39 on Ubuntu: