downtimed is a program that monitors operating system
downtime, uptime, shutdowns, and crashes and records such events