User Tools

Site Tools


tech:unix:pargs

"ps -ef" Does not show enough of the command line

When you do a ps -ef to see a command line, it is often truncated after about 50 characters. How do you get more complete information?

Solaris

> which pargs
/bin/pargs

> pargs 12345

“man pargs” for more info. Shows all the command line arguments as well as environment variables etc.

Linux/BSD

> ps eww -p 12345

or

> tr '\0' '\n' < /proc/12345/environ
tech/unix/pargs.txt · Last modified: 2024/06/21 12:04 by 127.0.0.1