[opensuse] uptime Hosed in 10.3?
Toshiba laptop Started it this morning. ^^^^^^^^^^^^^^ david@nemesis:/home/samba/computer/software/linux/openSuSE/iso/suse10.3> uptime 7:32pm up 19 days 2:03, 3 users, load average: 0.00, 0.00, 0.00 Anyone want to take a stab or guess at how or why it thinks it has been up 19 days?? -- David C. Rankin, J.D., P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
David C. Rankin wrote:
Toshiba laptop
Started it this morning. ^^^^^^^^^^^^^^
david@nemesis:/home/samba/computer/software/linux/openSuSE/iso/suse10.3> uptime 7:32pm up 19 days 2:03, 3 users, load average: 0.00, 0.00, 0.00
Anyone want to take a stab or guess at how or why it thinks it has been up 19 days??
david@nemesis: ^^^^^^^ Disregard, it seems the console was connected to the ..uh.. wrong machine. -- David C. Rankin, J.D., P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Sunday 04 November 2007 01:36:26 David C. Rankin wrote:
Toshiba laptop
Started it this morning. ^^^^^^^^^^^^^^
david@nemesis:/home/samba/computer/software/linux/openSuSE/iso/suse10.3> uptime 7:32pm up 19 days 2:03, 3 users, load average: 0.00, 0.00, 0.00
Anyone want to take a stab or guess at how or why it thinks it has been up 19 days??
Wild guess, but when you shut it down last time, did you perhaps use "suspend to disk" rather than shutdown? I think you can tell by looking at /var/log/pm-suspend.log, or by doing grep suspend /var/log/messages or by checking the date on /var/log/boot.msg Anders -- Madness takes its toll -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Saturday 03 November 2007 17:36, David C. Rankin wrote:
Toshiba laptop
Started it this morning. ^^^^^^^^^^^^^^
david@nemesis:/home/samba/computer/software/linux/openSuSE/iso/suse10 .3> uptime 7:32pm up 19 days 2:03, 3 users, load average: 0.00, 0.00, 0.00
Anyone want to take a stab or guess at how or why it thinks it has been up 19 days??
Well, the "uptime" command bases its output on the contents of /var/log/wtmp. So the probable, though proximate, cause is that this file has not been updated or has become somehow corrupted. Use "last" to get more details. The "last" comment is just a lister for the contents /var/log/wtmp, which is a binary file (go figure).
-- David C. Rankin
Randall Schulz -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Sunday 04 November 2007 02:05:25 Randall R Schulz wrote:
Well, the "uptime" command bases its output on the contents of /var/log/wtmp.
Not for the time, only for the number of logged in users. For the time it is the kernel internal jiffy count that matters (which is why there was an uptime wraparound at 497 days with a 32 bit jiffy counter) Anders -- Madness takes its toll -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Anders Johansson wrote:
On Sunday 04 November 2007 02:05:25 Randall R Schulz wrote:
Well, the "uptime" command bases its output on the contents of /var/log/wtmp.
Not for the time, only for the number of logged in users. For the time it is the kernel internal jiffy count that matters (which is why there was an uptime wraparound at 497 days with a 32 bit jiffy counter)
Anders
Ah, I see. That's interesting. So that's why adjustments by NTP (or whatever) don't break the uptime value. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (4)
-
Anders Johansson
-
David C. Rankin
-
Randall R Schulz
-
Russell Jones