If the process is not running, the cron job starts it back up. It calculates the day's downtime by reading yesterday's updata file and checking for different time stamps on the system boot time. If none are found, the system is assumed to have been up all day. If boot time variations are found, then down times are calculated based on the time stamps collected and reported by pokeutmp. The causes of downtime are found in a file called downfile, which is written to by the operator at boot time to give a best guess of the reason for the system outage.
Hooks are in place if the system was down at midnight.
Reads downfile.yymmdd which is written by the operator at system boot time. For multi-host arrays, reads hosts.config and changes directory to stats.host for each host listed in hosts.config. The file ctmp is used to get the data in Microsoft Excel format so we can use Excel to graph the data. Can be done at any date to collect data from previous month. Reads down.conf for reboot reasons.