sar output gives 98% idle CPU


 
Thread Tools Search this Thread
Operating Systems HP-UX sar output gives 98% idle CPU
# 1  
Old 08-24-2007
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-
Code:
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      99
11:46:56       1       2       2      95
11:46:57       0       1       1      98
11:46:58       3       3       1      93
11:46:59       1       1       0      98
11:47:00       2       2       6      90
11:47:01       1       3       3      93
11:47:02       0       1       0      99

During this time the entire system comes to a standstill and nothing is possible on the server. Logon to the database is very slow and the logged on users face a degraded performance. During normal period, the output is something like this...

Code:
11:47:35      %usr    %sys     %wio    %idle
11:47:36      55      45       0       0
11:47:37      55      45       0       0
11:47:38      50      50       0       0
11:47:39      50      50       0       0
11:47:40      53      46       0       1
11:47:41      61      39       0       0
11:47:42      45      55       0       0
11:47:43      57      42       0       1
11:47:44      47      49       0       4
11:47:45      55      42       1       2

Please help me.
Regrds
Ashrunil

Last edited by Perderabo; 08-24-2007 at 10:03 AM.. Reason: Add code tags for readability
# 2  
Old 08-24-2007
Hmmm a heavy weight process which is causing a lot of CPU time to be consumed by the kernel as well.

Look at /usr/bin/top when it's happening. The responsible process(es) should become obvious.

-c
# 3  
Old 08-24-2007
Did you install or upgrade software 4 weks ago?
Did you push a major change to your proprietary sfotware?

Can you tell what processes are eating the system? (craig's post) I don't think one process is doing that unless it is high priority - like realtime.
# 4  
Old 08-24-2007
The original post seems to claim that the first sar (with a lot of idle time) is when the box is in trouble. The second sar (with little or no idle time) is when the box seems to be ok. This would be very odd and both responses have assumed that the situation is reversed. We need to clarify this situation. And the output from "vmstat 1 7" during both states might shed some light as well.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

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. sar 1 4 AIX ab41cp01 3 5 000B3E0AD400 01/01/15... (17 Replies)
Discussion started by: scriptor
17 Replies

2. UNIX for Dummies Questions & Answers

Idle Process Exhausting CPU

I noticed when having some trouble with code I was testing that the CPU was becoming exhausted and I would have to reboot. After rebooting a couple times I decided to check for other problems before trying my code again. That's when I noticed that the CPU with the idle process was through the roof:... (5 Replies)
Discussion started by: Azrael
5 Replies

3. UNIX for Advanced & Expert Users

idle% cpu and run queue

Hi Everybody, Can anybody explain how CPU idle% is about 50%, but runq-sz more than 1? sar from Solaris 10: 00:00:05 %usr %sys %wio %idle 17:00:08 27 12 0 61 17:20:05 40 15 0 45 17:40:05 27 12 0 61 18:00:05 23... (2 Replies)
Discussion started by: sant
2 Replies

4. Solaris

Why CPU idle 0 process nohub lose

Hello Solaris 8 when CPU idle 0 . why nohub process lose ? Thank (1 Reply)
Discussion started by: ppmanja
1 Replies

5. Solaris

top is showing 0% cpu Idle

What should we do if we show a 0% cpu idl on top? (5 Replies)
Discussion started by: Pouchie1
5 Replies

6. Shell Programming and Scripting

How to get the information about cpu idle from top command?

I am using Ubuntu 9.04. I want to write a shell script to get the information about cpu idle from top command at the real time when i call it, compare cpu idle with 20 (20%), if cpu idle > 20 exit 1, vice versa exit 0. Anybody can help me to resolve it ? Thanks alot. (7 Replies)
Discussion started by: huyquocnguyen
7 Replies

7. UNIX for Dummies Questions & Answers

CPU 0% idle - how do I find what was running?

Hi, I checking yesterday's SAR logs for one of our servers and it was showing that utilisation was down to 0% for 10 minutes at 2am. We're unaware of any jobs running at this time so need to find out which process caused this spike. Is there anything built into SAR (or does anything else exist)... (11 Replies)
Discussion started by: dlam
11 Replies

8. UNIX for Dummies Questions & Answers

CPU utilization: sar vs ps

Any reason why the "sum of all" average cpu utilization numbers collected from ps during any given time sample are "consistently" lower than the corresponding numbers reported by sar (%usr, %sys). We have a Solaris O/S 2.8. We have been trying to correlate the CPU numbers from the sar, to the... (0 Replies)
Discussion started by: sevpert
0 Replies

9. Debian

Debian: doubt in "top" %CPU and "sar" output

Hi All, I am running my application on a dual cpu debian linux 3.0 (2.4.19 kernel). For my application: <sar -U ALL> CPU %user %nice %system %idle ... 10:58:04 0 153.10 0.00 38.76 0.00 10:58:04 1 3.88 0.00 4.26 ... (0 Replies)
Discussion started by: jaduks
0 Replies

10. Solaris

CPU idle

hi when should we consider that CPU is loaded? When it is 100% idle or 0%idle?? tx (4 Replies)
Discussion started by: melanie_pfefer
4 Replies
Login or Register to Ask a Question