Multi CPU Solaris system shows 100% CPU usage.


 
Thread Tools Search this Thread
Operating Systems Solaris Multi CPU Solaris system shows 100% CPU usage.
# 1  
Old 05-26-2009
Multi CPU Solaris system shows 100% CPU usage.

Hello Friends,
On one of my Solaris 10 box, CPU usage shows 100% using "sar", "vmstat". However, it has 4 CPUs and prstat and glance are not showing enough processes to justify high CPU utilization.

=========================================================================
$ prstat -a
PID USERNAME SIZE RSS STATE PRI NICE TIME CPU PROCESS/NLWP
1 root 2888K 1456K sleep 59 0 8:47:41 0.8% init/1
21678 yxhrprd 626M 527M sleep 59 0 5:35:08 0.5% java/47
27018 yxhrprd 38M 31M sleep 59 0 0:00:01 0.5% RTSDGN/1
18789 yxhrprd 1824K 1448K sleep 0 1 3:04:53 0.5% send2hotdir.ksh/1
19724 yxhrprd 1824K 1456K sleep 0 1 3:04:23 0.5% send2hotdir.ksh/1
24581 yxhrprd 1824K 1456K sleep 0 1 3:03:54 0.5% send2hotdir.ksh/1
18689 yxhrprd 1824K 1448K sleep 0 1 3:05:21 0.5% send2hotdir.ksh/1
27029 yxhrprd 515M 464M sleep 59 0 0:00:00 0.3% oracle/1
6299 yxecs 92M 84M sleep 59 0 32:30:56 0.3% dataserver/21
========================================================
# sar -u
00:00:00 %usr %sys %wio %idle
01:00:00 69 31 0 0
02:00:00 70 30 0 0
03:00:00 69 31 0 0
04:00:01 73 27 0 0
05:00:00 69 31 0 0
06:00:00 69 31 0 0
07:00:01 72 28 0 0
08:00:00 71 29 0 0
08:20:00 67 33 0 0
08:40:00 68 32 0 0
09:00:00 71 29 0 0
09:20:00 71 29 0 0
09:40:00 68 32 0 0
10:00:00 68 32 0 0
10:20:01 66 34 0 0
10:40:00 66 34 0 0
11:00:01 67 33 0 0
11:20:00 67 33 0 0
11:40:00 68 32 0 0
12:00:00 67 33 0 0
12:20:00 65 35 0 0
12:40:00 65 35 0 0
13:00:00 68 32 0 0
13:20:00 75 25 0 0
13:40:00 73 27 0 0
14:00:00 69 31 0 0
14:20:00 69 31 0 0
14:40:00 69 31 0 0
15:00:00 69 31 0 0
Average 69 31 0 0
========================================================

Any help on this would be highly appreciated.

Regards,
Mahi.
# 2  
Old 05-26-2009
have u tried top in that machine. Whats the output?
# 3  
Old 05-27-2009
Top is not installed on this system.
# 4  
Old 05-27-2009
You may run :
Code:
ps -ef | cut -c42-100 | sort -nr | head

This will give you the time each process has consumed as percentage during its entire lifetime. 'cut' cuts off the unnecessary fields, thus putting focus on the TIME and CMD values, then sort them descending, and limit the output to the to ten consumers.
# 5  
Old 05-27-2009
Looking at what you posted. I think the problem is most like a small set o resources being used by a large number of processes. It is not one process, but the sum of them all that is chewing cycles.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. AIX

Wait time shows high CPU usage

Hi, I can't seem to make sense of this. My wait time is showing really high but vmstat's and topas are showing normal usage. ps aux USER PID %CPU %MEM SZ RSS TTY STAT STIME TIME COMMAND root 9961810 5680.7 0.0 448 384 - A Dec 16 6703072:12 wait ... (2 Replies)
Discussion started by: techy1
2 Replies

2. Linux

System Went panic after CPU usage high

Hi All, Yesterday my Linux server went panic and even a small command took a lot of time to run. When i monitored pl find the below output Cpu(s): 0.1%us, 98.4%sy, 0.0%ni, 1.5%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st the time spent on kernel mode is 98 % and also idle time is around 1.5 %...... (4 Replies)
Discussion started by: jegaraman
4 Replies

3. UNIX for Dummies Questions & Answers

Is total CPU usage for sar %user+%system+%iowait?

Hi all Can anyone advise/confirm whether total CPU usage when running sar is %user+%system+%iowait or is it %user+%system only? I want to confirm whether I am having a CPU-bound problem or not. This is a single-CPU VMware machine. $ sar 5 20 Linux 2.6.18-238.5.1.el5... (7 Replies)
Discussion started by: newbie_01
7 Replies

4. Solaris

Bind9 DNS on Solaris 10 x4270 & CPU usage

I have configured a Bind9 DNS on a X4270 machine with Solaris10 I am excuting some repformance tests with DNSPERF tool and maximun CPU usage is 23%. I have seen with prstat -L -p PID that named process usses only 2 of the 8 available CPU at the same time although threads for all CPUs exist.... (2 Replies)
Discussion started by: parisph
2 Replies

5. UNIX for Advanced & Expert Users

Script to access multiple linux servers to get system details such as CPU usage

Hi Is there any shell script that accesses multiple linux servers to get details such as CPU usage, RAM used etc. The access of the servers must be parallel not serial in the sense it must ping all the servers at a time to get information.The script has to be triggered from a host system and get... (7 Replies)
Discussion started by: mssrivatsa
7 Replies

6. Ubuntu

High System CPU Usage

I am running a Dell PE R815 with 4 x AMD 12 core CPUs with 128GB of RAM and a RAID 5 array of 6 SAS disks. This is an HPC application and is definitely CPU bound, however once I run 16 of these processes (thus pinning 16 cores) the work performed slows down dramatically, to maybe 5 or 10% of what... (2 Replies)
Discussion started by: mowmentous
2 Replies

7. HP-UX

how can I find cpu usage memory usage swap usage and logical volume usage

how can I find cpu usage memory usage swap usage and I want to know CPU usage above X% and contiue Y times and memory usage above X % and contiue Y times my final destination is monitor process logical volume usage above X % and number of Logical voluage above can I not to... (3 Replies)
Discussion started by: alert0919
3 Replies

8. UNIX for Dummies Questions & Answers

is ‘nice’ command useful on a multi-CPU UNIX system?

Can someone tell me this. thanks (1 Reply)
Discussion started by: xoxouu
1 Replies

9. Solaris

Process CPU usage in Solaris 10

Hi All, Please let me know the command (expect top) to view the cpu usage of every process in Solaris 10. Thanks in Advance, Arun (1 Reply)
Discussion started by: arun.viswanath
1 Replies
Login or Register to Ask a Question