who — Report Who Is on the System

Synopsis

/usr/bin/who [-abdHlmpqrstTu][file] 
/usr/bin/who -q [-n x][file] 
/usr/bin/who am i 
/usr/bin/who am I 

/usr/xpg4/bin/who [-abdHlmpqrtTu][file] 
/usr/xpg4/bin/who -q [-n x][file] 
/usr/xpg4/bin/who -s [-bdHlmpqrtu][file] 
/usr/xpg4/bin/who am i 
/usr/xpg4/bin/who am I 

Description

The who command displays information about the current status of the system. It can 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 (shell) for each current UNIX system user. It examines the /var/adm/utmp file to obtain its information. If you specify file , that file (which must be in utmp(4) format) is examined. Usually, file is ...

Get Solaris™ 7 Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.