Linux – How to see complete list of processes in top

administrationlinuxprocesstop

When I do 'top', I learn that there are many processes running out of which many are in sleep state. I need to see complete snapshot of all processes at that point. the 'top' is able to show listing of processes, which fit in one screen.How do I get complete listing?

Among other things, I am interested in seeing list of all processes, which are in "sleeping" state. I don't think, I can get process state in output of "ps" command

Best Answer

top -b seems to be doing the trick.

Related Question