pcp
[Top] [All Lists]

Re: cpu times

To: Ken McDonell <kenmcd@xxxxxxxxxxxxxxxxx>
Subject: Re: cpu times
From: Mark Goodwin <markgw@xxxxxxx>
Date: Wed, 1 May 2002 06:59:43 +1000 (EST)
Cc: Madhu Sudhan R Tera <mst9696@xxxxxxxxxxx>, <pcp@xxxxxxxxxxx>
In-reply-to: <Pine.SGI.4.40.0205010558350.1028397-100000@xxxxxxxxxxxxxxxxxxxxxxxx>
Sender: owner-pcp@xxxxxxxxxxx
On Wed, 1 May 2002, Ken McDonell wrote:
> 
> And finally, some kernels consume (usually small amounts) of cpu time
> outside the context of a user process (e.g. in interrupt handling), and
> this usually is added to the kernel times but obviously not to any proc
> times.
> 

Actually, last time I looked (pre 2.4.x) interrupt time in the Linux
kernel is not included in any kernel times. Also, on Linux user time is
split into two metrics ("user" and "nice"), so you also need to include
kernel.all.cpu.nice in the system wide sum.

thanks
-- Mark


<Prev in Thread] Current Thread [Next in Thread>