From owner-freebsd-hackers Thu Sep 20 5:31:54 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by hub.freebsd.org (Postfix) with SMTP id C748637B418; Thu, 20 Sep 2001 05:31:50 -0700 (PDT) Received: from walton.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 20 Sep 2001 13:31:49 +0100 (BST) Date: Thu, 20 Sep 2001 13:31:49 +0100 From: David Malone To: "Vladimir B.Grebenschikov" Cc: FreeBSD-gnats-submit@freebsd.org, freebsd-hackers@freebsd.org Subject: Re: bin/30680: uptime and w utilities lie about real uptime Message-ID: <20010920133149.A96422@walton.maths.tcd.ie> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from vova@express.ru on Thu, Sep 20, 2001 at 03:21:08PM +0400 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, Sep 20, 2001 at 03:21:08PM +0400, Vladimir B.Grebenschikov wrote: > why utility increases uptime on 30 seconds ?? > Is any real reasons for it ? It adds 30 because it wants to round the number of minutes to the nearest minute, instead of rounding down. Unfortunately this isn't a sensible thing to do if you are also going to display the number of seconds. David. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message