#define EPIPE 32 /* Broken pipe */
downtimed is a program for monitoring operating system downtime, uptime, shutdowns and crashes and for keeping record of such events.
downtimed(8) 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(1) command.
Thereafter the downtimed(8) 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(1) 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, NetBSD, OpenBSD, GNU/Linux, Mac OS X and Solaris 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.
|NEWS||2013-07-27||4 KiB||version history|
|README||2013-07-27||8 KiB||downtimed README document|
|downtimed-0.1.tar.bz2||2010-05-22||72 KiB||downtimed distribution (bzip2 compression)|
|downtimed-0.1.tar.gz||2010-05-22||88 KiB||downtimed distribution (gzip compression)|
|downtimed-0.2.tar.gz||2010-09-22||95 KiB||downtimed distribution (gzip compression)|
|downtimed-0.2.tar.xz||2010-09-22||72 KiB||downtimed distribution (xz compression)|
|downtimed-0.3.tar.gz||2010-10-26||95 KiB||downtimed distribution (gzip compression)|
|downtimed-0.3.tar.xz||2010-10-26||73 KiB||downtimed distribution (xz compression)|
|downtimed-0.4.tar.gz||2010-12-25||97 KiB||downtimed distribution (gzip compression)|
|downtimed-0.4.tar.xz||2010-12-25||74 KiB||downtimed distribution (xz compression)|
|downtimed-0.5-manual.pdf||2011-03-02||8 KiB||downtimed(8) manual page as PDF|
|downtimed-0.5.tar.gz||2011-03-02||104 KiB||downtimed distribution (gzip compression)|
|downtimed-0.5.tar.xz||2011-03-02||79 KiB||downtimed distribution (xz compression)|
|downtimed-0.6-manual.pdf||2013-07-27||8 KiB||downtimed(8) manual page as PDF|
|downtimed-0.6.tar.gz||2013-07-27||106 KiB||downtimed distribution (gzip compression)|
|downtimed-0.6.tar.xz||2013-07-27||83 KiB||downtimed distribution (xz compression)|
|downtimed-screenshot-1.png||2010-09-22||24 KiB||downtimed screenshot|
|downtimes-0.5-manual.pdf||2011-03-02||6 KiB||downtimes(1) manual page as PDF|
|downtimes-0.6-manual.pdf||2013-07-27||6 KiB||downtimes(1) manual page as PDF|
If you wish to receive a notification whenever a new version of this software is released, you may wish to subscribe at the project's Freecode page. There is also a page which contains a brief summary of changes in each version.
A more detailed list of changes in each version is available in the NEWS file included in the distribution.
A detailed view of every change in the development tree is available at the downtimed Bazaar repository at Launchpad.
The following operating system and distribution specific ports and packages are available. Consider using one of them if one exists already for your operating system and distribution. Using a tailored port/package makes installation and upgrading easy.
sudo apt-get install downtimedIt probably works fine on some older Ubuntu releases as well.
sudo add-apt-repository ppa:snabb/downtimed sudo apt-get update sudo apt-get install downtimed
bzr branch lp:~snabb/downtimed/ubuntu
bzr branch lp:~snabb/downtimed/freebsd
bzr branch lp:downtimed