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