How to get network and disk usage and ram and cpu utilization per process in simple command?


Display current processes or threads during IO

iotop - -only -b -n1

List top 10 CPU-consuming processes

ps axo %cpu,command | sort -nr | head

List top 10 memory-consuming processes

ps ago %mem,command | sort -nr | head

List connections per processes

netstat -plant #for tcp
netstat -planu #for udp

Network usage per remotes with iftop

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.