ps – посмотреть кто «ест» процессор и память в Linux

Память:

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

Процессор:

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