On 13 May 2010, at 23:35, John J. Foster wrote:
I lost utility power for 2 hours today while at work (on my home
machine). UPS probably help for 20 minutes, or so. Just out of
curiousity, is there a way to determine previous system uptime. I
know I
was getting close to 11 months, which would be a record for me.
Too late now, but installing app-misc/uptimed will answer this
question in the future.
Mandatory willy-waggling:
$ uprecords
# Uptime |
System Boot up
----------------------------
+-------------------------------------------------
1 316 days, 09:28:33 | Linux 2.4.25 Mon Mar 12
22:11:01 2007
2 295 days, 18:59:25 | Linux 2.4.25 Sun Apr 6
09:26:35 2008
3 256 days, 22:14:22 | Linux 2.4.25 Mon Mar 12
21:57:23 2007
4 255 days, 21:54:14 | Linux 2.4.25 Mon Aug 15
20:05:36 2005
-> 5 203 days, 19:55:51 | Linux 2.4.25 Fri Oct 23
08:51:59 2009
6 161 days, 11:58:56 | Linux 2.4.25 Mon Oct 2
01:52:16 2006
7 155 days, 13:17:15 | Linux 2.4.25 Thu Mar 10
15:56:47 2005
8 152 days, 01:01:03 | Linux 2.4.25 Sun Apr 6
09:18:11 2008
9 123 days, 17:11:24 | Linux 2.4.25 Fri Apr 28
18:35:54 2006
10 123 days, 09:49:55 | Linux 2.4.25 Thu Feb 12
10:08:25 2009
----------------------------
+-------------------------------------------------
1up in 52 days, 01:58:24 | at Tue Jul 6
06:56:48 2010
no1 in 112 days, 13:32:43 | at Sat Sep 4
18:31:07 2010
$
Newer output showing downtime and % is nicer:
$ uprecords
# Uptime |
System Boot up
----------------------------
+---------------------------------------------------
-> 1 76 days, 00:09:02 | Linux 2.6.31-gentoo-r6 Sun Feb 28
03:49:26 2010
2 39 days, 22:26:38 | Linux 2.6.31-gentoo-r6 Tue Jan 19
05:21:23 2010
----------------------------
+---------------------------------------------------
NewRec 36 days, 01:42:23 | since Fri Apr 9
03:16:09 2010
up 115 days, 22:35:40 | since Tue Jan 19
05:21:23 2010
down 0 days, 00:01:25 | since Tue Jan 19
05:21:23 2010
%up 99.999 | since Tue Jan 19
05:21:23 2010
$
Stroller.