User Tools

Site Tools


linux:top

Top via ps

The following command will show the list of top processes ordered by RAM and CPU use in descendant form (remove the pipeline and head if you want to see the full list):

ps -eo pid,ppid,cmd,%mem,%cpu --sort=-%mem | head

or sort by cpu:

ps -eo pid,ppid,cmd,%mem,%cpu --sort=-%cpu | head
linux/top.txt · Last modified: 2023/05/29 11:55 by 127.0.0.1