72 lines
1.2 KiB
HTML
72 lines
1.2 KiB
HTML
<HTML>
|
|
<HEAD>
|
|
<TITLE>who(1)</TITLE>
|
|
</HEAD>
|
|
<BODY>
|
|
<H1>who(1)</H1>
|
|
<HR>
|
|
<PRE>
|
|
|
|
</PRE>
|
|
<H2>NAME</H2><PRE>
|
|
who - print list of currently logged in users
|
|
|
|
|
|
</PRE>
|
|
<H2>SYNOPSIS</H2><PRE>
|
|
<STRONG>who</STRONG> [<EM>file</EM>]
|
|
|
|
|
|
</PRE>
|
|
<H2>EXAMPLES</H2><PRE>
|
|
|
|
<STRONG>who</STRONG> # Print user names, terminals and times
|
|
|
|
|
|
</PRE>
|
|
<H2>DESCRIPTION</H2><PRE>
|
|
|
|
<EM>Who</EM> prints a list of currently logged in users. For each one, the user
|
|
name, terminal, and login time is printed. This program gets its
|
|
information from the file /<EM>etc</EM>/<EM>utmp</EM>, which is updated by init and login.
|
|
If the file does not exist, neither of these will create it, and <EM>who</EM> will
|
|
not work. Note that if you decide to create an empty /<EM>usr</EM>/<EM>adm</EM>/<EM>wtmp</EM> to
|
|
enable the login accounting, it will grow forever and eventually fill up
|
|
your disk unless you manually truncate it from time to time. If an
|
|
optional file name is provided, the logins in that file will be printed.
|
|
|
|
|
|
</PRE>
|
|
<H2>SEE ALSO</H2><PRE>
|
|
<STRONG><A HREF="../man5/utmp.5.html">utmp(5)</A></STRONG>.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</PRE>
|
|
</BODY>
|
|
</HTML>
|