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/02/21 19:09 by 127.0.0.1

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki