The /var/log/wtmp is a file on Unix-like systems that keeps track of all logins and logouts to the system. It is defined in the Filesystem Hierarchy Standard 2.3.
Format
The wtmp file records all logins and logouts. Its format is exactly like utmp except that a null user name indicates a logout on the associated terminal. Furthermore, the terminal name ~ with user name shutdown or reboot indicates a system shutdown or reboot and the pair of terminal names / logs the old/new system time when date changes it.
External links
- FreeBSD last Man Page
- FreeBSD wtmp Man Page
- Linux last Man Page
- Linux wtmp Man Page
- Solaris last Man Page
- Solaris wtmp Man Page
See also
-

This Unix-related article is a stub. You can help Wikipedia by expanding it.
This entry is from Wikipedia, the leading user-contributed encyclopedia. It may not have been reviewed by professional editors (see full disclaimer)




