#define EPIPE 32 /* Broken pipe */
downtimed is a program for monitoring operating system downtime, uptime, shutdowns and crashes and to record any findings either to the system log or to a separately specified log file.
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.
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.
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.
| Name | Last modified | Size | Description |
|---|---|---|---|
| README | 23-May-2010 06:52 | 4.4K | downtimed README document |
| downtimed-0.1-manual.pdf | 23-May-2010 11:12 | 8.0K | downtimed manual page as PDF |
| downtimed-0.1.tar.bz2 | 22-May-2010 04:37 | 72K | downtimed distribution (bzip2 compression) |
| downtimed-0.1.tar.gz | 22-May-2010 04:38 | 88K | downtimed distribution (gzip compression) |