Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Sep 2001 13:31:49 +0100
From:      David Malone <dwmalone@maths.tcd.ie>
To:        "Vladimir B.Grebenschikov" <vova@express.ru>
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>
In-Reply-To: <E15k1tE-0000r2-00@vbook.express.ru>; from vova@express.ru on Thu, Sep 20, 2001 at 03:21:08PM %2B0400
References:  <E15k1tE-0000r2-00@vbook.express.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010920133149.A96422>