WHO(1P) POSIX Programmer's Manual WHO(1P) PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. NAME who -- display who is on the system SYNOPSIS who [-mTu] [-abdHlprt] [file] who [-mu] -s [-bHlprt] [file] who -q [file] who am i who am I DESCRIPTION The who utility shall list various pieces of information about accessible users. The domain of accessibility is implementation- defined. Based on the options given, who can also list the user's name, terminal line, login time, elapsed time since activity occurred on the line, and the process ID of the command interpreter for each current system user. OPTIONS The who utility shall conform to the Base Definitions volume of POSIX.1-2017, Section 12.2, Utility Syntax Guidelines. The following options shall be supported. The metavariables, such as , refer to fields described in the STDOUT section. -a Process the implementation-defined database or named file with the -b, -d, -l, -p, -r, -t, -T and -u options turned on. -b Write the time and date of the last system reboot. The system reboot time is the time at which the implementation is able to commence running processes. -d Write a list of all processes that have expired and not been respawned by the init system process. The field shall appear for dead processes and contain the termination and exit values of the dead process. This can be useful in determining why a process terminated. -H Write column headings above the regular output. -l (The letter ell.) List only those lines on which the system is waiting for someone to login. The field shall be LOGIN in such cases. Other fields shall be the same as for user entries except that the field does not exist. -m Output only information about the current terminal. -p List any other process that is currently active and has been previously spawned by init. -q (Quick.) List only the names and the number of users currently logged on. When this option is used, all other options shall be ignored. -r Write the current run-level of the init process. -s List only the , , and