Table of Contents

"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