[0m


WHO(1)		    UNIX Programmer's Manual		   WHO(1)



[1mNAME
     [0mwho - who is on the system

[1mSYNOPSIS
     who [0m[ who-file ] [ [1mam I [0m]

[1mDESCRIPTION
     [0m_W_h_o, without an argument, lists the login name, terminal
     name, and login time for each current UNIX user.

     Without an argument, _w_h_o examines the /_e_t_c/_u_t_m_p file to
     obtain its information.  If a file is given, that file is
     examined.	Typically the given file will be /var/adm/wtmp,
     which contains a record of all the logins since it was
     created.  Then _w_h_o lists logins, logouts, and crashes since
     the creation of the wtmp file.  Each login is listed with
     user name, terminal name (with `/dev/' suppressed), and date
     and time.	When an argument is given, logouts produce a
     similar line without a user name.	Reboots produce a line
     with `x' in the place of the device name, and a fossil time
     indicative of when the system went down.

     With two arguments, as in `who am I' (and also `who are
     you'), _w_h_o tells who you are logged in as.

[1mFILES
     [0m/etc/utmp

[1mSEE ALSO
     [0mgetuid(2), utmp(5)

























Printed 31/1/92     Revision 1.3 of 18/06/90			1



[0m