how top counts time
Zbigniew Szalbot
zszalbot at gmail.com
Mon Oct 1 01:04:05 PDT 2007
Hi Erik and others,
2007/10/1, Erik Trulsson <ertr1013 at student.uu.se>:
> On Mon, Oct 01, 2007 at 09:25:17AM +0200, Zbigniew Szalbot wrote:
> > Hello,
> >
> > Just interested how to interpret time information in TOP.
> >
> > For example, my java appilcation eventually ran longer than 999 units
> > of time and then top displayed it as 16 or 17H (don't recall now). How
> > do I determine time units in top?
> > Does 1000 equal 16/17H? I did look at man top but could not really
> > find this information there.
> >
> > PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND
> > 10359 root 2 20 0 227M 34216K kserel 17.8H 0.00% java
> > 61600 mysql 6 20 0 55868K 16940K kserel 363:34 0.00% mysqld
> >
> > Thanks a lot!
>
> The time units are simply our ordinary hours, minutes and seconds.
> In the display above java has used 17.8 hours of CPU time, while mysqld
> has used 363 minutes and 34 seconds of CPU time.
> (FYI: 1000 minutes == 16H 40min == 16.67H)
Thanks. I should have definitely done the calculation prior to sending
to the list. Sorry and thanks!
Zbigniew Szalbot
More information about the freebsd-questions
mailing list