HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
cancel
Showing results for 
Search instead for 
Did you mean: 

sar -Mu output

 
gany59
Regular Advisor

sar -Mu output

Hi folks..

I am getting the O/p for the sar -Mu 5 5 as below:
12:15:41 cpu %usr %sys %wio %idle
12:15:46 0 42 58 0 0
1 64 36 0 0
system 53 47 0 0
12:15:51 0 40 60 0 0
1 66 34 0 0
system 53 47 0 0
12:15:56 0 40 60 0 0
1 64 36 0 0
system 52 48 0 0
12:16:01 0 42 58 0 0
1 65 35 0 0
system 53 47 0 0
12:16:06 0 38 62 0 0
1 77 23 0 0
system 57 43 0 0

So in the column is time and the seconnd is CPU count, and third is % of user consumption and the fourth is % system consumption and what is the meaning for the %wio & %idle
in the above O/p.. If idle is 0%, is the CPU is in bottle neck?

Pls clear out this

Thanks in advance..
1 REPLY
James R. Ferguson
Acclaimed Contributor

Re: sar -Mu output

Hi:

The 'sar' output fields are for the user, the system, processes waiting I/O and everything else. Hence in your case, the processor is fully utilized (0% idle). This may be fine as long as you are getting the performance for the workload that you want.

Doing I/O doesn't involve CPU cycles and in fact, a process that sleeps or does I/O will lessen the load on a processor. A simple shell script to consume 100% of a processor is simply:

#!/usr/bin/sh
while true
do
:
done

Regards!

...JRF...