2

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

1 Answer 1

2

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 and acknowledge that you have read and understand our privacy policy and code of conduct.

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