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 on GNU/Linux, FreeBSD, NetBSD, OpenBSD, 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.
Name | Last modified | Size | Description |
---|---|---|---|
NEWS | 2016-05-24 | 5 KiB | version history |
README.html | 2016-05-24 | 515 KiB | downtimed README document for browser display (HTML) |
README.md | 2016-05-24 | 9 KiB | downtimed README document (markdown) |
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-1.0-manual.pdf | 2016-05-24 | 25 KiB | downtimed(8) manual page as PDF |
downtimed-1.0.tar.gz | 2016-05-24 | 116 KiB | downtimed distribution (gzip compression) |
downtimed-1.0.tar.xz | 2016-05-24 | 89 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 |
downtimes-1.0-manual.pdf | 2016-05-24 | 21 KiB | downtimes(1) manual page as PDF |
A 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 GitHub repository.
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 downtimed
git clone https://github.com/snabb/downtimed.git