/proc/loadavg uptime load average
[root@localhost ~]# cat /proc/loadavg
1.17 1.37 1.44 4/319 6388
1.17 1.37 1.44 4/319 6388
The first three fields in this file are load average figures giving the number of jobs in the run queue (state R) or waiting for disk I/O (state D) averaged over 1, 5, and 15 minutes. They are the same as the load average numbers given by uptime(1) and other programs.
The fourth field consists of two numbers separated by a slash (/).
The first of these is the number of currently runnable kernel scheduling entities (processes, threads).
The value after the slash is the number of kernel scheduling entities that currently exist on the system.
The fifth field is the PID of the process that was most recently created on the system.
[root@localhost ~]# uptime
14:54:19 up 2:00, 5 users, load average: 1.10, 1.33, 1.43
Comments
Post a Comment