System Monitoring

Swati VermaSwati Verma
1 min read

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
    

0
Subscribe to my newsletter

Read articles from Swati Verma directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Swati Verma
Swati Verma

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!