Downtimed: System downtime monitoring and reporting tool

Sponsored Link
downtimed is a program for monitoring operating system downtime, uptime, shutdowns and crashes and for keeping record of such events.

downtimed is a daemon process which is intended to be started automatically from system boot scripts every time when the operating system of a server starts. First the daemon logs its findings about the previous downtime to a specified logging destination as well as in a database file which can be displayed with downtimes command.

Thereafter the downtimed daemon just keeps waiting in the background and periodically updates a time stamp file on the disk. The time stamp is used to determine the approximate time when the system was last up and running. In case of a graceful system shutdown it records a stamp to another file on the disk. These files are used for reporting the next time the daemon starts.

downtimes is a command-line tool which can be used to inspect previous downtime records recorded in the downtime database file.

This sofware works currently on recent FreeBSD and GNU/Linux based operating system distributions. It can be ported to other modern UNIX-like operating systems relatively easily. The software is available under Simplified BSD license.

Install downtimed in ubuntu 10.04

Open the terminal and run the following commands

sudo add-apt-repository ppa:snabb/downtimed

sudo apt-get update

sudo apt-get install downtimed

Using downtimed


downtimes [-d downtimedbfile] [-n num] [-s sleep]

downtimes -v


-d downtimedbfile- Use the specified downtime database file instead of the system default.

-n num Define how many latest downtime records to output. Default is all.

-s sleep -- Calculate the approximate crash time by specifying what was the sleep value of downtimed.

-v Display the program version number, copyright message and the default settings.


Sponsored Link

You may also like...

3 Responses

  1. Irfan says:

    I am using ubuntu 10.04

    command sudo apt-get install downtimed

    gives me following message

    sudo apt-get install downtimed
    Reading package lists… Done
    Building dependency tree
    Reading state information… Done
    E: Couldn’t find package downtimed

  2. Irfan says:

    I also noticed that when I executed the second command ie

    sudo apt-get update

    I got following error message in the last line

    Reading package lists… Done
    W: GPG error: lucid Release: The following signatures were invalid: BADSIG A463A44524CF39EB Launchpad PPA for Janne Snabb

  3. Ali Khan says:

    Hello i am getting the same error when i try to install the downtimed.
    I am new to ubuntu can you help me out.

Leave a Reply

Your email address will not be published. Required fields are marked *