I read in the ps man page that the cputime can be displayed instead of
cputime/realtime percentage. Is somebody know how to it?
Thanks
yahav

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Ehud Karni
Sent: Sunday, February 26, 2006 5:50 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: problem in top utility

>
> 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?

No.

> What is the realtime?

Realtime is the clock time (elapsed time).

Ehud.


--
 Ehud Karni           Tel: +972-3-7966-561  /"\
 Mivtach - Simon      Fax: +972-3-7966-667  \ /  ASCII Ribbon Campaign
 Insurance agencies   (USA) voice mail and   X   Against   HTML   Mail
 http://www.mvs.co.il  FAX:  1-815-5509341  / \
 GnuPG: 98EA398D <http://www.keyserver.net/>    Better Safe Than Sorry

=================================================================
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