Query: who
OS: osx
Section: 1
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
WHO(1) BSD General Commands Manual WHO(1)NAMEwho -- display who is logged inSYNOPSISwho [-abdHlmpqrsTtu] [file] who am iDESCRIPTIONThe 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 Same as -bdlprTtu. -b Time of last system boot. -d Print dead processes. -H Write column headings above the regular output. -l Print system login processes (unsupported). -m Only print information about the current terminal. This is the POSIX way of saying who am i. -p Print active processes spawned by launchd(8) (unsupported). -q ``Quick mode'': List only the names and the number of users currently logged on. When this option is used, all other options are ignored. -r Print the current runlevel. This is meaningless on Mac OS X. -s List only the name, line and time fields. This is the default. -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. -t Print last system clock change (unsupported). -u Print the idle time for each user, and the associated process ID. am I Returns the invoker's real user name. file By default, who gathers information from the file /var/run/utmpx. An alternative file may be specified.FILES/var/run/utmpxSEE ALSOlast(1), mesg(1), users(1), getuid(2), utmpx(5)STANDARDSThe who utility conforms to IEEE Std 1003.1-2001 (``POSIX.1'').HISTORYA who utility appeared in Version 6 AT&T UNIX.BSDJanuary 17, 2007 BSD
Related Man Pages |
---|
login(1) - mojave |
who(1) - sunos |
who(1) - opensolaris |
who(1) - centos |
who(1) - opendarwin |
Similar Topics in the Unix Linux Community |
---|
UNix Bourne Shell |
Displaying the processes of users |
List all inactive users who has not logged on since last 90 days |
Help with shell commands |
Users logged into the system |