Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I believe I have read some time ago how you can make top stop sorting the tasks so that they stay in the same line (easier to read) but still get updates for their values (in contrast to simply stopping the screen refresh by pressing e.g. k or r).

Now I tried to find this info in both the online help and the man page but couldn't find anything like that. Of course, it's possible that I have just dreamt reading something like this.

share|improve this question
    
Is using an alternative out of the question? Perhaps htop? –  slm Mar 3 at 21:50

2 Answers 2

You can just sort by anything that doesn't change that much, like the process ID ( Fa)

share|improve this answer
    
But that (probably) collects the wrong tasks in the window (I have two windows thus the space is limited). –  Hauke Laging Mar 2 at 16:10
    
The other thing I use 'e' for user name, but that only works if there are a limited number of process for the username and that it is at the extremety of the sorting spectrum (ie. starting with 'a' or with 'z') –  Anthon Mar 2 at 16:24

Did you try one shot top with

top  -n 1
share|improve this answer
    
"but still get updates for their values"... –  glglgl Apr 2 at 5:47

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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