For example, when I run top I usually press "C" so I can see the explicit command being run not the executable name if you will.

Is there a way I can modify top such that when I do:

% top 

The result is initially displaying the command line and not the executable command?

For example I see initially:

chromium-browser

But would prefer to see:

/usr/lib64/chromium-browser/chromium-browser --type=plugin --plugin-pat
link|improve this question

67% accept rate
feedback

2 Answers

up vote 2 down vote accepted

It depends on the version of top, but after pressing the "c", press "W" which will save your preferences in your ~/.toprc file.

link|improve this answer
feedback

Have a look at htop too.

link|improve this answer
I am familiar with htop, the question is asking about top. – Chris Nov 16 '10 at 13:10
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.