* Load Average
@ 1998-05-12 21:24 Matthew Woodworth
1998-05-12 22:20 ` Mike "Ford" Ditto
1998-05-12 23:13 ` H. Peter Anvin
0 siblings, 2 replies; 3+ messages in thread
From: Matthew Woodworth @ 1998-05-12 21:24 UTC (permalink / raw)
To: axp-list
Friends,
Can anybody explain exactly what a load average is?
Specifically, when I type "uptime" I get the load average
over the past 1, 5 and 15 minutes.
On Solaris, this is the number of jobs in the run queue.
However, the man page on Linux doesn't give the details of
load average.
What is it?
Thanks is advance,
Matthew S. Woodworth
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Load Average
1998-05-12 21:24 Load Average Matthew Woodworth
@ 1998-05-12 22:20 ` Mike "Ford" Ditto
1998-05-12 23:13 ` H. Peter Anvin
1 sibling, 0 replies; 3+ messages in thread
From: Mike "Ford" Ditto @ 1998-05-12 22:20 UTC (permalink / raw)
To: axp-list
> Can anybody explain exactly what a load average is?
> Specifically, when I type "uptime" I get the load average
> over the past 1, 5 and 15 minutes.
The load average is the average length of the "run queue", which is the
queue of processes that are ready to run (not sleeping) and waiting for
the CPU to become available. This count normally includes the process
which is currently running even though it is technically not on the
queue.
You can see this queue (more or less) by typing "ps -axlr". Often the
only process listed will be ps itself. Theoretically you could compute
the load average by repeatedly running "ps -axlr | wc -l" and taking the
average (after subtracting 1 for the ps process itself).
-=] Ford [=-
"The number of Unix installations (In Real Life: Mike Ditto)
has grown to 10, with more expected." ford@omnicron.com
- The Unix Programmer's Manual, http://www.omnicron.com/~ford/ford.html
2nd Edition, June, 1972.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Load Average
1998-05-12 21:24 Load Average Matthew Woodworth
1998-05-12 22:20 ` Mike "Ford" Ditto
@ 1998-05-12 23:13 ` H. Peter Anvin
1 sibling, 0 replies; 3+ messages in thread
From: H. Peter Anvin @ 1998-05-12 23:13 UTC (permalink / raw)
To: axp-list
>
> Friends,
>
> Can anybody explain exactly what a load average is?
> Specifically, when I type "uptime" I get the load average
> over the past 1, 5 and 15 minutes.
>
> On Solaris, this is the number of jobs in the run queue.
> However, the man page on Linux doesn't give the details of
> load average.
>
> What is it?
>
> Thanks is advance,
> Matthew S. Woodworth
>
>
Number of jobs in the run queue *plus* the number of jobs in
uninterruptible disk wait. The former is a measure of CPU contention,
the latter of disk contention.
-hpa
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1998-05-12 23:13 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-05-12 21:24 Load Average Matthew Woodworth
1998-05-12 22:20 ` Mike "Ford" Ditto
1998-05-12 23:13 ` H. Peter Anvin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox