Linux Load Average

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

Internal

/proc/loadavg

cat /proc/loadavg

This file provides a snapshot of the load average in regard to both the CPU and IO over time, as well as additional data used by uptime and other commands:

0.00 0.01 0.02 2/137 2042

The first three columns measure CPU and IO utilization of the last one, five, and 10 minute periods.

The fourth column shows the number of currently running processes and the total number of processes.

The last column displays the last process ID used.

Also See

https://github.com/NovaOrdis/os-stats/blob/master/src/main/java/io/novaordis/osstats/metric/loadavg/LoadAverageLastMinute.java