uptimed – keep track of your system uptime.

2012-04-02 206 words 1 min read

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

author

Authored By Amit Agarwal

Amit Agarwal, Linux and Photography are my hobbies.Creative Commons Attribution 4.0 International License.

We notice you're using an adblocker. If you like our webite please keep us running by whitelisting this site in your ad blocker. We’re serving quality, related ads only. Thank you!

I've whitelisted your website.

Not now
This website uses cookies to ensure you get the best experience on our website. Learn more Got it