downtime1
Display system downtime records made by downtimed(8)
Part of downtimes(1).
Usage
downtimes [-d
downtimedbfile]
[-f
timefmt]
[-n
num]
[-s
sleep]
[-u]
downtimes -v
downtime [-d
downtimedbfile]
[-f
timefmt]
[-n
num]
[-s
sleep]
[-u]
downtime -v
Overview
The downtimes command displays the contents of the downtime database in human readable format. The downtime database is maintained by downtimed(8).
The singular form downtime displays details only about the last time the system was down, whereas the plural form downtimes displays all records in the database. The -n option can be used to specify the number of downtime records to display.
Options
-
-d downtimedbfile -
Use the specified downtime database file instead of the system default.
-
-f timefmt -
Specify the time and date format to use when reporting using strftime(3) syntax. The default is "%F %T".
-
-n num -
Define how many latest downtime records to output. Default is all.
-
-s sleep -
Calculate the approximate crash time by specifying what was the sleep value of downtimed(8).
-
-u -
Display times in UTC.
-
-v -
Display the program version number, copyright message and the default settings.
Exit status
The program exits 0 on success, and >0 if an error occurs.
Releases
7 releases since Debian 7 (Wheezy); the text changed 2 times.
-f since Debian 8 (Jessie);
-u since Debian 8 (Jessie).