users — Display a Compact List of Logged-In Users
Synopsis
/usr/ucb/users [filename]
Description
users lists the login names of the users currently on the system in a compact, one-line format. Specifying filename tells users where to find its information; by default, it checks /var/adm/utmp.
The users command is equivalent to typing who -q.
Examples
The following example shows that four users are logged into the system castle.
castle% users
winsor ray des rob
castle%
Files
/var/adm/utmp
Attributes
See attributes(5) for descriptions of the following attributes:
Attribute Type | Attribute Value |
---|---|
Availability | SUNWscpu |
See Also
who(1), attributes(5)
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.