Home arrow Journal arrow Show a complete line of a ps output command
Show a complete line of a ps output command PDF
Friday, 09 December 2011
If you've executed ps command but you only see a small portion of the commands parameters for some process you want to see then there's a way to see more of it. To accomplish that we use ps -awuxwww:

For example we see find is running on our system (with top command) but we want so see more info:

running ps -awux will output:

# ps -awux | grep find
root  10107  16.6  0.1  18248   5896  ??  D     6:01PM    10:31.91 find -sx / /mnt/floppy /mnt/tank /mnt/tankfs /dev/null -type f ( ( ! -per

But we notice is not the complete find command. If we run:

#  ps -awuxwww | grep find
root  10107  11.8  0.1  18248   5896  ??  D     6:01PM    10:02.47 find -sx / /mnt/floppy /mnt/tank /mnt/tankfs /dev/null -type f ( ( ! -perm +010 -and -perm +001 ) -or ( ! -perm +020 -and -perm +002 ) -or ( ! -perm +040 -and -perm +004 ) ) -exec ls -liTd {} +

then we get the full command.

 
< Prev   Next >

Other BSD Systems

OpenBSD

Misc

Solaris

Polls

Best BSD firewall?