WTMPDB(8) | wtmpdb | WTMPDB(8) |
NAME¶
wtmpdb - display login, logout and reboot information
SYNOPSIS¶
wtmpdb COMMAND [option...]
DESCRIPTION¶
wtmpdb displays the content of the wtmp database and allows to create reboot and shutdown entries.
This command is Y2038 safe and uses sqlite3 to store the information.
COMMANDS¶
The following commands are understood:
last [option...] [username...] [tty...]
The login and logout times of the special user reboot are the boot and shutdown times of the system.
-a, --hostlast
-d, --dns
-f, --file FILE
-F, --fulltimes
-i, --ip
-n, --limit N
-p, --present TIME
-R, --nohostname
-S, --service
-s, --since TIME
-t, --until TIME
-w, --fullnames
-x, --system
--time-format FORMAT
TIME must be in the format "YYYY-MM-DD HH:MM:SS", "YYYY-MM-DD", "today" or "yesterday" (time will be set to 00:00:00 if not specified).
boot [option...]
-f, --file FILE
-q, --quiet
shutdown [option...]
-f, --file FILE
rotate [option...]
-f, --file FILE
-d, --days DAYS
global options
-h, --help
-v, --version
FILES¶
/var/lib/wtmpdb/wtmpdb.db
SEE ALSO¶
AUTHOR¶
wtmpdb was written by Thorsten Kukuk <kukuk@suse.com>.
07/27/2024 | wtmpdb 0.13.0 |