icon Top 9 categories map      RocketAware >


Tips: Browse or Search all pages for efficient awareness of more than 6000 of the most popular reusable and open source applications, functions, libraries, and FAQs.

The "RKT couplings" below include links to source code, updates, additional information, advice, FAQs, and overviews.


Search all pages


By activity
Professions, Sciences, Humanities, Business, ...

User Interface
Text-based, GUI, Audio, Video, Keyboards, Mouse, Images,...

Text Strings
Conversions, tests, processing, manipulation,...

Integer, Floating point, Matrix, Statistics, Boolean, ...

Algorithms, Memory, Process control, Debugging, ...

Stored Data
Data storage, Integrity, Encryption, Compression, ...

Networks, protocols, Interprocess, Remote, Client Server, ...

Hard World
Timing, Calendar and Clock, Audio, Video, Printer, Controls...

File System
Management, Filtering, File & Directory access, Viewers, ...


RocketLink!--> Man page versions: OpenBSD FreeBSD NetBSD RedHat Solaris Others

[IEEE Std1003.2-1992 (``POSIX.2'')]

WHO(1)                     OpenBSD Reference Manual                     WHO(1)

     who - display who is logged in

     who [-mTu] [file]
     who am i

     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.

     The options are as follows:

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

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

     -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/run/utmp. An
           alternate file may be specified which is usually /var/log/wtmp (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 com-
           pression by ac(8)).  The wtmp file contains a record of every lo-
           gin, logout, crash, shutdown and date change since wtmp was last
           truncated or created.

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


     last(1),  mesg(1),  users(1),  getuid(2),  utmp(5)

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

     The who utility is expected to conform to IEEE Std1003.2-1992

OpenBSD 2.6                    December 6, 1994                              1

Source: OpenBSD 2.6 man pages. Copyright: Portions are copyrighted by BERKELEY
SOFTWARE DESIGN, INC., The Regents of the University of California, Massachusetts
Institute of Technology, Free Software Foundation, FreeBSD Inc., and others.

(Corrections, notes, and links courtesy of RocketAware.com)

[Detailed Topics]
FreeBSD Sources for who(1)
OpenBSD sources for who(1)

[Overview Topics]

Up to: Local machine and Operating System Information - kernel topics, uname, boot, shutdown, et al

RocketLink!--> Man page versions: OpenBSD FreeBSD NetBSD RedHat Solaris Others

[IEEE Std1003.2-1992 (``POSIX.2'')]

Rapid-Links: Search | About | Comments | Submit Path: RocketAware > who.1/
RocketAware.com is a service of Mib Software
Copyright 1999, Forrest J. Cavalier III. All Rights Reserved.
We welcome submissions and comments