Date: Mon, 1 Oct 2007 10:04:03 +0200 From: "Zbigniew Szalbot" <zszalbot@gmail.com> To: "Zbigniew Szalbot" <zszalbot@gmail.com>, freebsd-questions@freebsd.org Subject: Re: how top counts time Message-ID: <94136a2c0710010104q7f003b0ft9020b3880f86fdda@mail.gmail.com> In-Reply-To: <20071001075859.GA8340@owl.midgard.homeip.net> References: <94136a2c0710010025i6c1f3319yc1a24402e449ec5a@mail.gmail.com> <20071001075859.GA8340@owl.midgard.homeip.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi Erik and others, 2007/10/1, Erik Trulsson <ertr1013@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?94136a2c0710010104q7f003b0ft9020b3880f86fdda>