Skip to content

Q&A · Answered

How to monitor system resources in real-time on Linux

asked 9 months, 2 weeks ago 2019 views 1 answer
8

What are the best tools to monitor CPU, memory, and disk usage in real-time on a Linux server?

1 Answer

One accepted
17

Accepted answer

Not confirmed since it was written, 9 months, 2 weeks ago

Built-in tools

# top - classic process viewer
top

# htop - enhanced process viewer
sudo apt install htop
htop

# vmstat - system performance
vmstat 1

# iostat - disk I/O statistics
iostat -x 1

Advanced monitoring

# glances - all-in-one monitoring
pip install glances
glances

# nmon - comprehensive monitoring
sudo apt install nmon
nmon

Your answer

Say what you tried, not only what worked — the next person needs the reasoning. Code goes in a fenced block.

Shown beside your answer and never checked, so it cannot be a name someone already has here.

No account needed to answer. Sign in instead and it carries your name and earns reputation.