I've been using top with -c
to view the command that started the process. Some commands with long argument lists get cut off though. Is there a way to see these on full? On screen or written to a file is fine.
Asked
Active
Viewed 7,319 times
4

MorayM
- 155
2 Answers
3
Two possibilities spring to my mind:
- With
top
, you can use the cursor keys to scroll to the right, providing more space for thecommand
column. - If you don't need the dynamic output of
top
, try the classicps -efw
, perhaps in combination with grep.

Murphy
- 2,649
2
You can (I'm on Linux Mint, CentOS could be different) with gnome-terminal
do this:

schrodingerscatcuriosity
- 12,396
ps -efw
is more useful though as I can pipe it through grep and out to files. – MorayM Feb 19 '20 at 09:14top
, the command is getting cut off at 16 characters,com.apple.wifi.d
, and who knows how much longer this string is, no amount of scrolling helps. Withps -efw
, it is still cut off at/System/Library/PrivateFrameworks/ComerceKit.framework/Versions/A/Resources/store
-- cannot get filename either way. – Alex Nov 10 '22 at 13:16ps -e
did the trick, thanks! – Alex Nov 10 '22 at 13:28