Skip to main content

Command Palette

Search for a command to run...

System Monitoring

Essential Linux Commands for System Performance Monitoring

Updated
1 min read
System Monitoring
S

Growing in DevOps, together! 🤝 | Associate Software Engineer at Tech Mahindra | Enthusiastic about automation, cloud solutions, and efficient software delivery. | Let's connect, collaborate, and learn from each other!

1. free

free command - already covered in Disk Usage and Management.

2.uptime - System Uptime and Load

Displays how long the system has been running along with the number of active users and system load averages.

uptime

Load average values show CPU load over the last 1, 5, and 15 minutes.

3.vmstat - System Performance Monitoring

Reports on memory, CPU, swap, disk I/O, and system processes.

vmstat 5 10

Displays system statistics every 5 seconds for 10 iterations.

4.iostat - CPU and Disk I/O Statistics

It is a part of the sysstat package, iostat provides detailed CPU and disk usage statistics.

  1. Displays CPU usage statistics every 5 seconds.

     iostat -c 5
    

  1. Shows disk read/write statistics.

    Example for disk usage:

     iostat -d 5