What is %idle means in SAR?


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers What is %idle means in SAR?
# 8  
Old 01-01-2015
Quote:
Originally Posted by Scrutinizer
So are you saying that %usr %sys %wait and %idle do not add up to 100.. in an LPAR?
No, i did not say this and i didn't mean it either. In fact i haven't used - for the explained deficiencies - sar for the last 10 years on AIX machines. In fact i do not know why the numbers do not add up to 100%, but since sar is the wrong tool to use on LPARs anyway i don't care why this is so.

I know of (small) deviations from "100%" in vmstat and iostat, which is usually an artefact of rounding. The delta, though, is too big for being a rounding effect, so i don't know.

bakunin
# 9  
Old 01-02-2015
I'd usually use vmstat instead. The same risk of rounding errors, but it gives the entitled capacity % (which can burst over 100% if the LPAR is not limited) as below along with the paging/swap information that can be useful if the server is not performing as expected:-
Code:
> vmstat 3                      

System configuration: lcpu=2 mem=1024MB ent=0.10

kthr    memory              page              faults              cpu          
----- ----------- ------------------------ ------------ -----------------------
 r  b   avm   fre  re  pi  po  fr   sr  cy  in   sy  cs us sy id wa    pc    ec
 1  0 229548 14588   0   0   0   0    0   0  23  103 161 99  1  0  0  0.89 889.9
 1  0 229548 14588   0   0   0   0    0   0   2   16 151 99  0  0  0  0.89 892.0

I'd put in a tight while true loop for a few seconds just to generate load. I still can't explain why the original posted output exceeds 100% for user, system, idle & wait though Smilie



Robin
# 10  
Old 01-02-2015
Why loop when there is an interval switch e.g. vmstat 3 5 or something.
# 11  
Old 01-02-2015
I was just illustrating that the EC value can exceed 100%.
# 12  
Old 01-05-2015
Hi
here i want to know only what does %idle reflect?
is higher value of %idle is good
or lower value of %idle is good
# 13  
Old 01-05-2015
You need to say what good means in your context, as suggested by Don in post 5
# 14  
Old 01-05-2015
Quote:
Originally Posted by scriptor
is higher value of %idle is good
or lower value of %idle is good
Both are good. Actually any value of %idle comprised between 0% and 100% inclusive is good, i.e. shouldn't be a concern.
 
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