A tool such as this might on the surface appear to serve no real useful purpose, but people that take care of systems like to brag, and uptime is just one of those things that they like to brag about right after how much RAM or CPUs their systems have.
Additionally, how many times have you had a system mysteriously reboot, only to find that it had, later on. A tool such as this would help to identify the frequency of both the reboots and the length of time that the system was staying up, between reboots. 2 potentially useful pieces of information when debugging badly behaving systems.
Is anyone aware of such a tool?
Best Answer
uptimed
One such tool that I came across many years ago is called
uptimed
. The project site is here: http://podgorny.cz/moin/Uptimed.This is a pretty straightforward install, given
uptimed
appears to be in most of the major distros' repositories.Installation
Once installed the service needs to be configured so that it will start upon reboots. The stats of differing uptimes can be seen using the command
uprecords
.Example
collectd
If you're looking for something more graphical then check out
collectd
. Main project page is here: http://collectd.org/. Again, should be in most major distros' repositories.Example
Collectd can do way more than just collect uptimes. It has a sophisticated plugin API which has dozens of plugins for collecting data on a variety of services such as MySQL or other system related information.
References