Who can explain the meaning of /proc/loadavg in Red Hat Linux

  • Follow


Hello,everybody:

I know that /proc/loadavg indicate the load of current system. When I look
in my loadavg file,
I found there are five numer in it. that 0.00 0.05 0.05 1/60 4708 . What's
the meaning of the five number ? thanks!



0
Reply postbeerliu 11/12/2003 12:54:58 AM

In article <bos7om$17ce$1@mail.cn99.com>, postbeerliu wrote:
> Hello,everybody:
> 
> I know that /proc/loadavg indicate the load of current system. When I look
> in my loadavg file,
> I found there are five numer in it. that 0.00 0.05 0.05 1/60 4708 . What's
> the meaning of the five number ? thanks!


What Unix are you running?

The three first values are probably the avergae lengths of the
run queue for the last 1, 5 and 15 minutes.  These are also
known as the load averages of the system.

The alst two values are probably some other statistics that your
system keeps track of, maybe such as the amount of swap used
(the last one?).



-- 
Andreas K�h�ri
0
Reply Andreas 11/12/2003 9:08:01 AM


On Wed, 12 Nov 2003 09:08:01 +0000 (UTC), Andreas Kahari 
  <ak+usenet@freeshell.org> wrote:
> In article <bos7om$17ce$1@mail.cn99.com>, postbeerliu wrote:
>> Hello,everybody:
>> 
>> I know that /proc/loadavg indicate the load of current system. When I look
>> in my loadavg file,
>> I found there are five numer in it. that 0.00 0.05 0.05 1/60 4708 . What's
>> the meaning of the five number ? thanks!
>
>
> What Unix are you running?
>
According to the subject line, it's Red Hat Linux.

> The three first values are probably the avergae lengths of the
> run queue for the last 1, 5 and 15 minutes.  These are also
> known as the load averages of the system.
>
> The alst two values are probably some other statistics that your
> system keeps track of, maybe such as the amount of swap used
> (the last one?).
>
The "1/60" is the number of running tasks and total tasks, and the last
number seems to be a count of the times /proc/loadavg has been accessed.

-- 
You can go anywhere you want if you look serious and carry a clipboard.
0
Reply Bill 11/12/2003 7:08:59 PM

In article <b3da81-di3.ln1@don.localnet>, Bill Marcum wrote:
> On Wed, 12 Nov 2003 09:08:01 +0000 (UTC), Andreas Kahari 
>  <ak+usenet@freeshell.org> wrote:
[cut]
>> What Unix are you running?
>>
> According to the subject line, it's Red Hat Linux.

Oh, that part of the subject line went outside the right edge of
my terminal.  I assumed the question would be repeated in the
body of the message anyway.

Ah, well.


-- 
Andreas K�h�ri
0
Reply Andreas 11/13/2003 4:10:04 PM

On Wed, 12 Nov 2003 14:08:59 -0500, Bill Marcum <bmarcum@iglou.com> poured 
into the usenet group comp.unix.admin:
> On Wed, 12 Nov 2003 09:08:01 +0000 (UTC), Andreas Kahari 
>  <ak+usenet@freeshell.org> wrote:
>> In article <bos7om$17ce$1@mail.cn99.com>, postbeerliu wrote:
>>> I know that /proc/loadavg indicate the load of current system. When I look
>>> in my loadavg file,
>>> I found there are five numer in it. that 0.00 0.05 0.05 1/60 4708 . What's
>>> the meaning of the five number ? thanks!
<snip>
>> The three first values are probably the avergae lengths of the
>> run queue for the last 1, 5 and 15 minutes.  These are also
>> known as the load averages of the system.
>>
>> The alst two values are probably some other statistics that your
>> system keeps track of, maybe such as the amount of swap used
>> (the last one?).
>>
> The "1/60" is the number of running tasks and total tasks, and the last
> number seems to be a count of the times /proc/loadavg has been accessed.
Its the PID of the last task run.
The format is:
              The load average numbers give 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 next two columns give:
		 number of tasks running/total number of tasks in queue
		 PID of last task.

Devdas Bhagat
0
Reply Devdas 11/15/2003 1:59:31 PM

Thanks ,I used Red Hat Linux 9.0.
"Andreas Kahari" <ak+usenet@freeshell.org>
??????:slrnbr3u3h.1hr.ak+usenet@otaku.freeshell.org...
> In article <bos7om$17ce$1@mail.cn99.com>, postbeerliu wrote:
> > Hello,everybody:
> >
> > I know that /proc/loadavg indicate the load of current system. When I
look
> > in my loadavg file,
> > I found there are five numer in it. that 0.00 0.05 0.05 1/60 4708 .
What's
> > the meaning of the five number ? thanks!
>
>
> What Unix are you running?
>
> The three first values are probably the avergae lengths of the
> run queue for the last 1, 5 and 15 minutes.  These are also
> known as the load averages of the system.
>
> The alst two values are probably some other statistics that your
> system keeps track of, maybe such as the amount of swap used
> (the last one?).
>
>
>
> --
> Andreas K�h�ri


0
Reply postbeerliu 11/17/2003 6:56:15 AM

As mentioned, the first three are 5- 10- 15-minute load averages...

The next to last (4th) value is the number of running processes as a 
fraction of total number of processes...

The last (5th) is the last process ID used...

Hope it helps..

postbeerliu wrote:
> Thanks ,I used Red Hat Linux 9.0.
> "Andreas Kahari" <ak+usenet@freeshell.org>
> ??????:slrnbr3u3h.1hr.ak+usenet@otaku.freeshell.org...
> 
>>In article <bos7om$17ce$1@mail.cn99.com>, postbeerliu wrote:
>>
>>>Hello,everybody:
>>>
>>>I know that /proc/loadavg indicate the load of current system. When I
> 
> look
> 
>>>in my loadavg file,
>>>I found there are five numer in it. that 0.00 0.05 0.05 1/60 4708 .
> 
> What's
> 
>>>the meaning of the five number ? thanks!
>>
>>
>>What Unix are you running?
>>
>>The three first values are probably the avergae lengths of the
>>run queue for the last 1, 5 and 15 minutes.  These are also
>>known as the load averages of the system.
>>
>>The alst two values are probably some other statistics that your
>>system keeps track of, maybe such as the amount of swap used
>>(the last one?).
>>
>>
>>
>>--
>>Andreas K�h�ri
> 
> 
> 


-- 

"There are 10 types of people in the world: Those who understand binary
and those that don't."

$>whoami: Carl Holtje
$>mail holtje: cwh0803@cs.rit.edu
$>cu: http://www.cs.rit.edu/~cwh0803
$>whois holtje:

   System Administrator Group
   Computer Science Department
   Rochester Institute of Technology

$>

0
Reply Carl 11/18/2003 5:34:45 AM

6 Replies
469 Views

(page loaded in 0.076 seconds)

Similiar Articles:







7/20/2012 8:40:13 AM


Reply: