Date: Sun, 25 Jul 2010 04:30:53 -0700 (PDT) From: tedm@ipinc.net To: FreeBSD-gnats-submit@FreeBSD.org Subject: misc/148922: uptime command output inconsistency after boot Message-ID: <201007251130.o6PBUrBk002602@dns2.ipinc.net> Resent-Message-ID: <201007251210.o6PCA4bT097406@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 148922 >Category: misc >Synopsis: uptime command output inconsistency after boot >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Jul 25 12:10:04 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Ted Mittelstaedt >Release: FreeBSD 8.0-RELEASE i386 >Organization: Internet Partners, Inc. >Environment: System: FreeBSD dns2.ipinc.net 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:48:17 UTC 2009 root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: After boot, the uptime command produces inconsistent output. Here is output from a machine that was just booted a few minutes ago: 4:16AM up 3:06, 1 user, load averages: 0.02, 0.08, 0.07 Here is output from an 8.0 system that has been up for a while: 4:41PM up 1 day, 10:22, 1 user, load averages: 0.00, 0.00, 0.00 Here is output from a FreeBSD 7.3 system that was rebooted a few minutes ago: 4:06AM up 8 mins, 1 user, load averages: 0.01, 0.10, 0.07 As you can see, the "minutes" field is missing from the 8.0 system that had been rebooted recently. The bug must have been introduced when the XX:XX time printout was added to the uptime output. >How-To-Repeat: run uptime on a recently booted system. Run uptime on a system that has been up for a day. Compare the results. >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201007251130.o6PBUrBk002602>