Tuesday, June 13, 2006

unix/linux load average

do you know what it mean by load average when you execute these commands:
$ uptime
8:00pm up 238 day(s), 6:06, 39 users, load average: 0.60, 0.27, 0.26

$ w
8:01pm up 238 day(s), 6:07, 39 users, load average: 0.61, 0.30, 0.27

$ top
20:03:19 up 11 days, 5:23, 37 users, load average: 0.24, 0.14, 0.08

$ cat /proc/loadavg
0.12 0.09 0.09 1/253 532

from the man page, really i also not sure since it only says:
DESCRIPTION
The uptime command prints the current time, the length of
time the system has been up, and the average number of jobs
in the run queue over the last 1, 5 and 15 minutes. It is,
essentially, the first line of a w(1) command.

but i've found these articles that nicely explained about this. read it here:
http://www.lifeaftercoffee.com/2006/03/13/unix-load-averages-explained/
http://nosheep.net/story/defining-unix-load-average/
http://www.teamquest.com/resources/gunther/display/5/index.htm

1 comment:

microkernel said...

thx dude for this howto