I looked at the man page of ps on the definition of CPU time and I didn't
understand it.
" %CPU  shows the cputime/realtime percentage. It will not add up to 100%
unless you are lucky. It is time used divided by the time  the  process
has been running."

It means that in order to get true results I need to restart the monitored
process before each test.
Correct?

What is the realtime?

thanks

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Tzafrir Cohen
Sent: Friday, February 24, 2006 4:32 PM
To: [EMAIL PROTECTED]
Subject: Re: problem in top utility

On Fri, Feb 24, 2006 at 02:37:34PM +0200, Alexander Indenbaum wrote:
> Hey,
> 
> Some "unaccounted" CPU cycles are consumed for handling software and
> hardware interrupts and some for managing internal kernel structures
> like network stack to push packets around or other kernel
> responsibilities like scheduling or filesystem.
> 
> The point is that kernel part of CPU pie could not be always mapped to
> a specific process, that's why  benchmarks for IO intensive software
> systems generally speak about total CPU utilization which could be
> calculated as 100% - idle%.

There are some tools to get information about the kernel load. E.g:
oprofile and kerneltop .

-- 
Tzafrir Cohen         | [EMAIL PROTECTED] | VIM is
http://tzafrir.org.il |                           | a Mutt's  
[EMAIL PROTECTED] |                           |  best
ICQ# 16849755         |                           | friend


=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]


=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to