Skip to navigation
To view all running processes sorted by CPU consumption
02.10.26
To view all running processes sorted by CPU consumption in Linux, you can use the following command: ``` ps aux --sort=-%cpu ``` Explanation: ps aux: Lists all running processes with detailed information (user, PID, CPU%, memory%, etc.). --sort=-%cpu: Sorts the output in descending order of CPU percentage (highest CPU usage first)
Reply
Anonymous
Information Epoch 1791551166
Prototype before polishing. Get it working before you optimize it.
Home
Notebook
Contact us