LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 08-02-2009, 05:49 AM   #1
mario.almeida
Member
 
Registered: May 2008
Location: India
Distribution: Ubuntu 10.04, CentOS
Posts: 177

Rep: Reputation: 26
load average ?


Hi All

As per the man page of proc, Load average figures are the number of jobs in the run queue (state R) or waiting for disk I/O (state D)

The output of top shows all process with the state as S and only one process with the state as R which is the top command.

What is the other way to check the process state (ps aux | more) ?

Loadavg is above 4.x.

My question, If the output of top shows no run queue (state R) and disk I/O (state D) why the loadavg is above 4.x

what is the other way to verify the loadavg with state as R and D

//Remy
 
Old 08-03-2009, 07:48 AM   #2
BenCollver
Rogue Class
 
Registered: Sep 2006
Location: OR, USA
Distribution: Slackware 14.1
Posts: 156

Rep: Reputation: 50
Just out of curiosity, does "top -H" show something different?
 
Old 08-03-2009, 07:57 AM   #3
mario.almeida
Member
 
Registered: May 2008
Location: India
Distribution: Ubuntu 10.04, CentOS
Posts: 177

Original Poster
Rep: Reputation: 26
Quote:
Originally Posted by BenCollver2 View Post
Just out of curiosity, does "top -H" show something different?
no
Same result

Last edited by mario.almeida; 08-03-2009 at 08:09 AM.
 
Old 08-03-2009, 08:22 AM   #4
vysakh@gmail.com
LQ Newbie
 
Registered: Jun 2009
Posts: 11

Rep: Reputation: 0
Hello there are some incidents i noticed where due to I/O wait issues server load gone high and few of the D process are displyed in top.

Like for testing ,

#hdparm -tT /dev/device
and check the the load with top ..the hrparm process changes the flag R to D as it process.

You can try going for # sar 5 10(will give 10 instance with 5sec interval) and check your avg iowait.

and for check the load you can simply execute #uptime
 
Old 08-03-2009, 08:35 AM   #5
mario.almeida
Member
 
Registered: May 2008
Location: India
Distribution: Ubuntu 10.04, CentOS
Posts: 177

Original Poster
Rep: Reputation: 26
Quote:
Originally Posted by vysakh@gmail.com View Post
Hello there are some incidents i noticed where due to I/O wait issues server load gone high and few of the D process are displyed in top.

Like for testing ,

#hdparm -tT /dev/device
and check the the load with top ..the hrparm process changes the flag R to D as it process.

You can try going for # sar 5 10(will give 10 instance with 5sec interval) and check your avg iowait.

and for check the load you can simply execute #uptime
I know for I/O it goes high but as per the man page the state should show as D

nither D nor R is shown in the top output

where else can I find the state (D / R) when loadavg going above 4.x?
 
Old 08-03-2009, 08:39 AM   #6
vysakh@gmail.com
LQ Newbie
 
Registered: Jun 2009
Posts: 11

Rep: Reputation: 0
I guess ..I had miss communicated in earlier post.

Hello there are some incidents i noticed where due to I/O wait issues server load gone high and non of the D process are displayed in top.

So do check you IO wait ..if your load is up and noting related to this in Top.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Please Help me in my load average black-code Linux - Server 3 04-08-2009 01:17 PM
Redhat 8.0 - Load average f0nzie Red Hat 5 09-28-2005 04:21 PM
load average? ampex189 Linux - Newbie 2 03-06-2005 07:17 PM
Load average 1.0, 1.0, 1.0 ? belated Linux - Newbie 4 11-30-2003 03:49 PM
Average load Cyth Linux - General 1 01-22-2002 03:33 PM


All times are GMT -5. The time now is 03:29 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration