Re: top and time
- From: Ben Bacarisse <ben.usenet@xxxxxxxxx>
- Date: Sun, 29 Jan 2006 05:41:37 +0000
On Sat, 28 Jan 2006 21:07:33 -0800, Eric wrote:
> I have been running a program for just under 4 days now but top shows it
> as only running:
> PID USER S PR %MEM VIRT SWAP RES UID NI P %CPU TIME TIME+
> 31742 root R 21 0.0 1584 1012 572 0 0 0 0.0 25:38 25:38.06
>
> In actuality the program has run
> 3 days 23 hrs, 37 minutes
>
> I've noticed this before with other programs, why is there a time
> discrepancy in top?
From... you guessed! man time:
l: TIME -- CPU Time
Total CPU time the task has used since it started. When 'Cumulative
mode' is On, each process is listed with the cpu time that it and
its dead children has used. You toggle 'Cumulative mode' with 'S',
which is a command-line option and an interactive command. See the
'S' interactive command for additional information regarding this
mode.
so you process has used just over 25 and a half *minutes* of CPU time.
--
Ben.
.
- Follow-Ups:
- Re: top and time
- From: Ben Bacarisse
- Re: top and time
- Prev by Date: Re: Samba share not found?
- Next by Date: Re: top and time
- Previous by thread: Re: SuSE10 DVD image
- Next by thread: Re: top and time
- Index(es):
Relevant Pages
|