
ps:ai:1f5e3
How to list all proccess for the current user and sort based on cpu usage?
$ ps -u $USER -o pid,cmd,%cpu --sort=-%cpu
try on your machine
List all processes for the current user and sort based on CPU usage in descending order
This explanation was created by an AI. In most cases those are correct. But please always be careful and
never run a command you are not sure if it is safe.
Questions that are answered by this command:
- how to list all proccess for the current user and sort based on cpu usage?