misc/148922: uptime command output inconsistency after boot
tedm at ipinc.net
tedm at ipinc.net
Sun Jul 25 12:10:05 UTC 2010
>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 at 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:
More information about the freebsd-bugs
mailing list