*** UNIX MANUAL PAGE BROWSER ***

A Nergahak database for man pages research.

Navigation

Directory Browser

1Browse 4.4BSD4.4BSD
1Browse Digital UNIXDigital UNIX 4.0e
1Browse FreeBSDFreeBSD 14.3
1Browse MINIXMINIX 3.4.0rc6-d5e4fc0
1Browse NetBSDNetBSD 10.1
1Browse OpenBSDOpenBSD 7.7
1Browse UNIX v7Version 7 UNIX
1Browse UNIX v10Version 10 UNIX

Manual Page Search

Manual Page Result

0 Command: utmp | Section: 5 | Source: UNIX v10 | File: utmp.5
UTMP(5) File Formats Manual UTMP(5) NAME utmp, wtmp - login records SYNOPSIS #include <utmp.h> DESCRIPTION The utmp file allows one to discover information about who is currently logged in. The file is a sequence of entries with the following struc- ture declared in the include file: struct utmp { char ut_line[8]; /* tty name */ char ut_name[8]; /* user id */ long ut_time; /* time on */ }; This structure gives the name of the special file associated with the user's terminal, the user's login name, and the time of the login in the form of time(2). The wtmp file records 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 indicates that the system was rebooted at the indicated time; the adjacent pair of entries with ter- minal names and indicate the system-maintained time just before and just after a date(1) command changed the system's idea of the time. Wtmp is maintained by login(8) and init(8). Neither of these programs creates the file, so if it is removed record-keeping is turned off. It is summarized by ac(8). FILES SEE ALSO login(8), init(8), who(1), ac(8) UTMP(5)

Navigation Options