proc - a process information pseudo-file system which is used as an interface to kernel data structures
loadavg describes CPU load
> cat /proc/loadavg
0.01 0.06 0.11 2/442 4114
Let's take a look at the output above, namely:
0.01 0.06 0.11 2/442 4114
The first three metrics describes the number of jobs in the run queue or waiting for disk I/O averaged over:
0.01
- 1 minute
0.06
- 5 minutes
0.11
- 15 minutes
These are the same load average numbers given by uptime(1)
The fourth metric compares the number of currently runnable kernel scheduling entities (processesses, threads) against the number of kernel scheduling entities that currently exist on the system:
2/
- number of currently runnable threads
/442
- number of threads that currently exist on the system
The fifth metric identifies the PID of the process that was most recently created on the system
4114
- PID of process that was most recently created on the system