Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 May 2009 15:10:17 +0100
From:      Chris Rees <utisoft@googlemail.com>
To:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: Another uptime story
Message-ID:  <b79ecaef0905270710v2beee3cdt1e70cced11a2cba3@mail.gmail.com>
In-Reply-To: <b79ecaef0905270709h32daa57dqe5a1524755050c30@mail.gmail.com>
References:  <4A1CB002.9070904@ibctech.ca> <20090527052335.7a71bfc6.freebsd@edvax.de>  <4ad871310905262234s35857487xbf631bea45a018e@mail.gmail.com>  <b79ecaef0905270645i500318efn9e71cff1ea58faf5@mail.gmail.com>  <d356c5630905270702q31e06a0j31b48f138ed9b3b0@mail.gmail.com>  <b79ecaef0905270709h32daa57dqe5a1524755050c30@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
2009/5/27 Andrew Gould <andrewlylegould@gmail.com>:
> On Wed, May 27, 2009 at 8:45 AM, Chris Rees <utisoft@googlemail.com> wrot=
e:
>>
>> 2009/5/27 Glen Barber <glen.j.barber@gmail.com>:
>> > On Tue, May 26, 2009 at 11:23 PM, Polytropon <freebsd@edvax.de> wrote:
>> >> Maybe there's a way of patching the uptime utility that it adds
>> >> the previous uptime of the system (since last shutdown) to the
>> >> actual uptime. I know this denies everything uptime stands for,
>> >> let's call it accumulated uptime. :-)
>> >>
>> >
>> > I like that idea, actually.. Not for faking cumulative uptime. =A0It'd
>> > be kinda nice knowing how long a particular machine has been 'alive'
>> > without looking through service tag records.
>> >
>> > --
>> > Glen Barber
>>
>> How about:
>>
>> [chris@amnesiac]~% ls -l /etc/ssh/ssh_host_key.pub
>> -rw-r--r-- =A01 root =A0wheel =A0324 Apr 15 =A02008 /etc/ssh/ssh_host_ke=
y.pub
>> [chris@amnesiac]~%
>>
>> I think I'd cry if I were to lose 553 days of uptime....
>>
>> Chris
>
> You could write a script that sends uptime output and a start/stop flag t=
o a
> database when the system starts and stops.=A0 This wouldn't account for
> improper shutdowns, although you could tell when a "stop" date/time was
> missing.
>
> If you also=A0 documented the installation date/time of various component=
s,
> you could also track their lives separately.
>
> Andrew
>

I use:

http://www.uptimes-project.org/hosts/view/2288

Chris

--
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b79ecaef0905270710v2beee3cdt1e70cced11a2cba3>