uptimed – keep track of your system uptime.

2012-04-02 1 min read Fedora

Uptimed is an up time record daemon keeping track of the highest
up times the system ever had.

Uptimed has the ability to inform you of records and milestones
though syslog and e-mail, and comes with a console front end to
parse the records, which can also easily be used to show your
records on your Web page

Installation :

sudo yum install uptimed

Once installed, you will have to first create the boot id with this command:

uptimed -b

After you have done that, you can see the boot records with the following commands:

uprecords
# Uptime | System Boot up
—————————-+—————————————————
-> 1 0 days, 00:37:05 | Linux 3.3.0-4.fc16.i686 Sun Apr 1 12:30:32 2012
—————————-+—————————————————
NewRec 0 days, 00:37:04 | since Sun Apr 1 12:30:32 2012
up 0 days, 00:37:05 | since Sun Apr 1 12:30:32 2012
down 0 days, 00:00:00 | since Sun Apr 1 12:30:32 2012
%up 100.000 | since Sun Apr 1 12:30:32 2012

And if you want to see the same on you web-server then just copy the uprecords binary to your cgi-bin direcotry and you are done.

Enhanced by Zemanta
comments powered by Disqus