I am facing situation where sar -u
command is showing 0 for all cps, so does it mean all the cpus are fully utilized, os is oracle Linux 6.8
01:34:13 PM all 0 0 0 0 0.00 0
I am facing situation where sar -u
command is showing 0 for all cps, so does it mean all the cpus are fully utilized, os is oracle Linux 6.8
01:34:13 PM all 0 0 0 0 0.00 0
What sar
command are you using exactly. On my system sar -u
produces a diagnostic indicating that an operand is required.
When you run sar
what is the heading line in the output? On my system, the output from the command:
sar -u 1
from a few minutes ago was:
22:18:24 %usr %nice %sys %idle
22:18:25 1 0 1 98
Average: 1 0 1 98
You have more output fields, than I'm seeing. My output is showing 1% of CPU being used by user code, 1% of CPU being use by system code and 98% idle. I can't guess at how the output you have shown us correlates to the output I see on my system since we can't have 0% user time, 0% system time, AND 0% idle.
I am getting below ouput , I have run only sar -u
09:40:01 AM CPU %user %nice %system %iowait %steal %idle
10:10:01 AM all 0.00 0.00 0.00 0.00 0.00 0.00
10:20:01 AM all 0.00 0.00 0.00 0.00 0.00 0.00
10:30:01 AM all 0.00 0.00 0.00 0.00 0.00 0.00
11:20:01 AM all 0.00 0.00 0.00 0.00 0.00 0.00
11:30:01 AM all 0.00 0.00 0.00 0.00 0.00 0.00
11:40:02 AM all 0.00 0.00 0.00 0.00 0.00 0.00
please suggest