UTMP(5) COMMAND REFERENCE UTMP(5)
NAME
utmp - login records
SYNOPSIS
#include <utmp.h>
DESCRIPTION
The utmp file records information about who is currently
using the system. The file is a sequence of entries with
the following structure declared in the include file:
struct utmp {
char ut_line[8]; /* tty name */
char ut_name[8]; /* user id */
char ut_host[16]; /* host name, if remote */
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(3c).
FILES
/etc/utmp
/usr/adm/wtmp
SEE ALSO
login(1), who(1n), init(8).
Printed 10/17/86 1
%%index%%
na:72,56;
sy:128,177;
de:305,739;
fi:1044,106;
se:1150,139;
%%index%%000000000093