Uptimed is a simple program that allows you to track the uptime of your server. It is easy to install and works great.
Here's how:
cd /tmp
wget http://podgorny.cz/uptimed/releases/uptimed-0.3.9.tar.gz
tar xvfz uptimed-0.3.9.tar.gz
cd uptimed-0.3.9
./configure
make
make install
Now issue the following:
uptimed -b
uprecords
You should see a display of your current uptime similar to the above image.
Now we want the program to start at boot, so per the INSTALL doc in the package:
nano /etc/rc.sysinit
---add the following to the end of the file
echo "Creating unique uptime daemon bootid..."
/usr/local/sbin/uptimed -b
nano /etc/rc.local
---add the following
echo "Starting uptime daemon..."
/usr/local/sbin/uptimed
There are other settings available in the config file. You need to move the file to /etc/
cp /tmp/uptimed-0.3.9/etc/uptimed.conf-dist /etc/uptimed.conf
Happy T-day