From owner-freebsd-questions@FreeBSD.ORG Mon Oct 1 08:04:05 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 071CB16A418 for ; Mon, 1 Oct 2007 08:04:05 +0000 (UTC) (envelope-from zszalbot@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.232]) by mx1.freebsd.org (Postfix) with ESMTP id AC99E13C459 for ; Mon, 1 Oct 2007 08:04:04 +0000 (UTC) (envelope-from zszalbot@gmail.com) Received: by wx-out-0506.google.com with SMTP id i29so2658129wxd for ; Mon, 01 Oct 2007 01:04:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=0WakET1XzaBfPud0aGMewTFP22kyvQ5mAKyQDnVG26U=; b=VZD8UfLPkYZmyStniMjnZ1OHUUqpYJJ7X5AsjUl6qCJK4e/7BJdiTwY+cP2J1w1XJnYHwVXODWYIRZ75S7b5UsOikajI0fRLAsbK6I2FlBBreSpn4H6VCQ4lyXugE5wXxEarJ+3dsVhoOKzMKwpBs9EbU7KRu76piAH/QRVlPL4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=DtRsIMch8OwQoD3RP8OrUY2Z1wur8PcNRgVTaUWhVKNyBW19DJwg22PeshBqmQfk3bmN0kgzDHkZLhaEnbHecAuvj+o01nAruyLz7X17rlimiO2VTyOeq8BbrKyapdv9rsQx1rUA6Dgi8YGZeDWm/2fLS0fwv5Q6W7X8hHss6CY= Received: by 10.70.118.4 with SMTP id q4mr9197996wxc.1191225843807; Mon, 01 Oct 2007 01:04:03 -0700 (PDT) Received: by 10.70.95.16 with HTTP; Mon, 1 Oct 2007 01:04:03 -0700 (PDT) Message-ID: <94136a2c0710010104q7f003b0ft9020b3880f86fdda@mail.gmail.com> Date: Mon, 1 Oct 2007 10:04:03 +0200 From: "Zbigniew Szalbot" To: "Zbigniew Szalbot" , freebsd-questions@freebsd.org In-Reply-To: <20071001075859.GA8340@owl.midgard.homeip.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <94136a2c0710010025i6c1f3319yc1a24402e449ec5a@mail.gmail.com> <20071001075859.GA8340@owl.midgard.homeip.net> Cc: Subject: Re: how top counts time X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Oct 2007 08:04:05 -0000 Hi Erik and others, 2007/10/1, Erik Trulsson : > 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