Index of Section 1 Manual Pages

Interix / SUAwho.1Interix / SUA

WHO(1)                  System General Commands Manual                  WHO(1)

NAME
     who - display who is logged in

SYNOPSIS
     who [-abdfHlmpqrstTu] [file]
     who am i

DESCRIPTION
     The who utility displays a list of all users currently logged on, showing
     for each user the login name, tty name, the date and time of login, and
     hostname if not local.

     Available options:

     -a    Show all record ntypes.

     -b    Show last system reboot.

     -d    Show all dead processes.

     -f    Show the name or IP address of the host the user originates from in
           the output.

     -H    Provide column headings in the output. The default is to not show
           headings.

     -l    (Currently provides no action and is available for compatability.)

     -m    Only print information about the current terminal.  This is the
           POSIX way of saying who am i.

     -p    (Currently provides no action and is available for compatability.)

     -q    (Quick.) List only the names and the number of users currently
           logged on. When this option is used, all other options are ignored.

     -r    (Currently provides no action and is available for compatability.)

     -s    Show only the name, line and time coloumns. This is the default
           output.

     -t    Show the last update to the system clock. This information will
           only appear when the change happens from an Interix process.

     -T    Print a character after the user name indicating the state of the
           terminal line: `+' if the terminal is writable; `-' if it is not;
           and `'?  if a bad line is encountered.

     -u    Print the idle time for each user.

     -H    Write column headings above the regular output.

     am I  Returns the invoker's real user name.

     file  By default, who gathers information from the file /var/adm/utmpx.
           An alternate file may be specified which is usually /var/adm/wtmpx
           (or /var/log/wtmp.[0-6] depending on site policy as wtmp can grow
           quite large and daily versions may or may not be kept around after
           compression by ac(8)).  The wtmp file contains a record of every
           login, logout, crash, shutdown and date change since wtmp was last
           truncated or created.

     If /var/adm/wtmpx is being used as the file, the user name may be empty
     or one of the special characters '|', '}' and '~'.  Logouts produce an
     output line without any user name.  For more information on the special
     characters, see utmp(5).

FILES
     /var/adm/utmpx
     /var/adm/wtmpx

SEE ALSO
     last(1), users(1), getuid(2), utmpx(5)

HISTORY
     A who utility appeared in Version 6 AT&T UNIX.

STANDARDS
     The who utility is expected to conform to IEEE Std 1003.2-1992
     (``POSIX.2'').

Interix                        December 6, 2006                        Interix

Interix / SUAHosted at SUA Community for Interix, SUA and SFUInterix / SUA