/usr/ucb/users
Display the currently logged-in users as a space-separated list. Same as who -q . Information is read from a system file (default is /var/adm/utmp ).
who -q