On Mon, 1 Dec 2008, Aleksey Tsalolikhin wrote:

> Hi.  I've got a Linux system that is spending more CPU time in system
> than in user.   sometimes more than double.
>
> I'd like to see what is the system call(s) that is chewing up the CPU.
>
> Is there any way to do that in Linux out of the box?   I am afraid the
> answer is no but I am hoping it's just a gap in my knowledge.   Are
> people using SystemTap?  I really don't want to install some
> expiremental kernel module...

OProfile is one way to tell what system calls are being made. it's part of 
the standard kernel (although your distro may or may not have enabled it 
by default)

SystemTap is something that you would need to look at if you need to go 
exploring what the system state is at the time a call is made. if you are 
just trying to see where the time is going it's not the first tool to 
reach for.

what's your disk activity like? that can eat a _lot_ of CPU time.

David Lang

> Seems like a simple question, huh?
>
> Best,
> Aleksey
>
>
_______________________________________________
Tech mailing list
[email protected]
http://lopsa.org/cgi-bin/mailman/listinfo/tech
This list provided by the League of Professional System Administrators
 http://lopsa.org/

Reply via email to