From: ford@omnicron.com (Mike "Ford" Ditto)
To: axp-list@redhat.com
Subject: Re: Load Average
Date: Tue, 12 May 98 15:20:58 -0700 [thread overview]
Message-ID: <3558CB4A.5A4E@yoda.omnicron.com> (raw)
In-Reply-To: <85256602.0075459B.00@cont12.qad.com> (msw@qad.com)
> 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.
next prev parent reply other threads:[~1998-05-12 22:21 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-05-12 21:24 Load Average Matthew Woodworth
1998-05-12 22:20 ` Mike "Ford" Ditto [this message]
1998-05-12 23:13 ` H. Peter Anvin
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox