high CPU % in kernel mode

This is a discussion on high CPU % in kernel mode within the SUN forums, part of the Systems category; Hi, guys, When I run iostat or vmstat, I find 20% CPU is constantly in sysem mode (the sy column in the output). The user mode is less than 2%. ...

Go Back   Unix Linux Forum > Technologies & Tools > Systems > SUN

FixUnix.com - Unix Linux Forums

Unix Content Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 10-06-2007, 01:36 AM
Default high CPU % in kernel mode

Hi, guys,

When I run iostat or vmstat, I find 20% CPU is constantly in sysem mode

(the sy column in the output). The user mode is less than 2%. In hours

the system runs like that. I am trying to figure out why the machine is

constantly in kernel mode and what it is doing. When I use ps or
prstat, the highest CPU usage of all the processes (including the
system daemons) is around 1%. Most of them are 0.1%. I just don't know
which process is contributing to the 20% kernel mode CPU usage.


The machine is a 8 CPU box running solaris 8. It is a NFS client, not
NFS server.


I read some articles which say if the kernel mode CPu usage is
constantly much hogher than the user mode, most likely the machine has
some problem.


Here come my questions:


1) does CPU usage (%) reported by ps or prstat include the kernel mode
CPU usage, if the process is make system calls?


2) Do we have any way to figure out what the system is busy with?


Thanks.

Reply With Quote
  #2  
Old 10-06-2007, 01:36 AM
Default Re: high CPU % in kernel mode


bill_j_chen@yahoo.com wrote:

>
> 1) does CPU usage (%) reported by ps or prstat include the kernel mode
> CPU usage, if the process is make system calls?


yes

> 2) Do we have any way to figure out what the system is busy with?
>


I like to start with:

/usr/dt/bin/sdtprocess

drop the sample time down to 5 seconds and you will get a good feel for
what is running when and what sort of resources are being used.

Reply With Quote
Reply

Thread Tools


All times are GMT -5. The time now is 04:07 PM.

In an effort to better serve ads to our visitors, cookies are used on Fixunix.com. For more information, check out our Privacy Policy.

Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Ad Management by RedTyger