What is %idle means in SAR?


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers What is %idle means in SAR?
# 1  
Old 01-01-2015
What is %idle means in SAR?

Hi

what does %idle reflect in SAR command

suppose SAR commamd is showing idle as 90%

does it means sytem is fine or sytem is in danger state.


below is the o/p of sar command and %idle is 90 then what does its means.

Code:
 
sar 1 4
AIX ab41cp01 3 5 000B3E0AD400    01/01/15
System configuration: lcpu=8  mode=Capped 
10:13:20    %usr    %sys    %wio   %idle   physc
10:13:21      52       7       0      92    4.00
10:13:22      52       7       0      91    4.00
10:13:23      57       7       0      86    4.00
10:13:24      52       7       0      91    4.00
Average       53       7       0      90    4.00

# 2  
Old 01-01-2015
It means your system is bored. Smilie It is looking for something to do about 90% of the time?
# 3  
Old 01-01-2015
Hi Don

does it means it means that server is not working properly ??
i executed the above cmd on server.

higher value is good or lower value of %idle is good .

---------- Post updated at 12:09 PM ---------- Previous update was at 12:07 PM ----------

i was checking server overload through sar command.

i am not sure if higher value is good or lower .
# 4  
Old 01-01-2015
Strange,

%usr %sys %wait and %idle do not add up to 100..

Anyone seen this before ?

@scriptor: are you sure this output is right?
# 5  
Old 01-01-2015
Quote:
Originally Posted by scriptor
Hi Don

does it means it means that server is not working properly ??
i executed the above cmd on server.

higher value is good or lower value of %idle is good .

---------- Post updated at 12:09 PM ---------- Previous update was at 12:07 PM ----------

i was checking server overload through sar command.

i am not sure if higher value is good or lower .
If you want to have hardware configured to get the job done at minimum costs, you would expect low %idle. If you want a system that is always available and will respond immediately to requests, you would expect high %idle. Is 10am on New Year's day a good time to determine the load on your servers? Did you have a representative load on your servers at that time?

Since I have no idea how you are trying to configure your server, no idea whether these four seconds represent "normal" use of your server, and (as Scrutinizer said) no idea why your numbers don't add up; I have absolutely no idea whether low %idle is good or high %idle is good.
# 6  
Old 01-01-2015
This is the output of an AIX LPAR (logical partition, a kind of virtual machine) and therefore the explanations before - while being correct for physical machines - are not really true.

The IBMs p-Series (this is the sole hardware to support AIX) hypervisor dynamically adjusts the layout of the system depending on its own load, the load of other LPARs on the same "managed system" (the IBM-speak for "hardware node", physical system) and the LPARs profile parameters, therefore the single presentation of some sar-output without any accompanying information is next to useless.

First off, the OS version seems to be 5.3, which is out of support for nearly 2 years now. I suggest to update ASAP.

Post an output of vmstat -tw 1 while the system is under a typical load. Notice that "%usr", "%sys", "%idle" and "%wait" are only relative to "ecc" (entitled capacity comsumed). For example a 50% usr with an ecc of 0.1 means that the system is exerting effectively 5% of the processor ressources it could muster on user processes. It further means the system has 10% of its processor possible resources allocated but the hypervisor doesn't see the need to give it more right now.

We will also need to know which hardware your managed system is (Power5, Power6, Power6+, Power7, Power7+ or Power8), the LPAR profile you booted from and let us see from there. You might need to post additional information before any verdict is possible.

You might want to read this thread in the meantime for a short explanation on analyzing vmstat-output.

I hope this helps.

bakunin
# 7  
Old 01-01-2015
Quote:
Originally Posted by bakunin
This is the output of an AIX LPAR (logical partition, a kind of virtual machine) and therefore the explanations before - while being correct for physical machines - are not really true.
[..]
So are you saying that %usr %sys %wait and %idle do not add up to 100.. in an LPAR? That does not seem logical to me. I can understand that the actual CPU power being used is reflected in the physc metric. But using that relative measure the numbers still should add up to a 100, I would think, no?
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

What is $(NF) means?

HI what does the $(NF) means. here i want to understand the working. what i know is that in awk NF argument will tell number of column in a file i have below file alpha a beta b if i use command cat kv | paste - - | awk '{print $1," "$2 "------>"$(NF)}' i get the o/p as alpha ... (3 Replies)
Discussion started by: scriptor
3 Replies

2. Programming

What does it means?

#define abc '\xE8' (7 Replies)
Discussion started by: kamlesh33
7 Replies

3. Shell Programming and Scripting

$? and $# means

what exactly $? and $# means ? (1 Reply)
Discussion started by: mail2sant
1 Replies

4. Shell Programming and Scripting

What does . means?

Hi, I have seen in some ksh script, that we are executing shell scripts inside other shell script as . variable.sh What is . here? Their is space between . and variabloe. And why we are not executing it like ./variable.sh? I know that . signifies current directory , but what its... (2 Replies)
Discussion started by: jatanig
2 Replies

5. UNIX for Dummies Questions & Answers

What means %U

I can not find out what the %U means in the following command: ooffice -calc %U (2 Replies)
Discussion started by: borobudur
2 Replies

6. UNIX for Advanced & Expert Users

what does $#,$* means

:) Hi, In some script i got these regular expression like , n=$# and for i in $* can anybody let me know, what does it means (5 Replies)
Discussion started by: deb.simply
5 Replies

7. UNIX for Dummies Questions & Answers

Can you tell me what this means?

Can you please tell me what this means? use grep to find from the file myfile.txt all lines containing the sequence tt but not more 2 ts? I have no idea. (2 Replies)
Discussion started by: rushhour
2 Replies

8. HP-UX

sar output gives 98% idle CPU

Dear All, Our HPUX 8 GB 8CPU database server is behaving abnormally for the last 4+ weeks. I have generated a sar output and it is here- 11:46:52 %usr %sys %wio %idle 11:46:53 1 1 6 92 11:46:54 0 1 0 99 11:46:55 0 1 0... (3 Replies)
Discussion started by: Ashrunil
3 Replies

9. UNIX for Dummies Questions & Answers

what it means?

I have a command called cd $HDRROOT/release/tools/cfg My query is what it means? tHat is.... $HDRROOT part is not clear. If I put this command it says path not found.... I doubt that $HDRROOT is trying to mean smething I am not clear of. PL help......... (4 Replies)
Discussion started by: rraajjiibb
4 Replies
Login or Register to Ask a Question