Finding out who is logged on to a Solaris system

Sun Solaris offers different command to find out who is logged on to a Solaris system.

Following list summaries command name according to a task:

a) Display current process information for each FTP Server user. Type the following commands

$ ftpwho
$ ftpcount

b) Find out who is on the system
Displays list of users (user’s name), terminal, login name, elapsed time since activity occurred on the line, and the process-ID of the command interpreter (shell) for each current UNIX system user.

$ who
$ who -b
$ who -r


  • -b : Indicates the time and date of the last reboot.
  • -r : Display the current run-level of the init process.

c) Display information about currently logged-in users
The w command displays a summary of the current activity on the system, including what each user is doing. The heading line shows the current time, the length of time the system has been up, the number of users logged into the system, and the average number of jobs in the run queue over the last 1, 5 and 15 minutes.

$ w

d) Find out who is logged in on remote machines

$ rusers remoteserver

See also

🐧 Get the latest tutorials on Linux, Open Source & DevOps via RSS feed or Weekly email newsletter.

🐧 1 comment so far... add one

CategoryList of Unix and Linux commands
File Managementcat
FirewallAlpine Awall CentOS 8 OpenSUSE RHEL 8 Ubuntu 16.04 Ubuntu 18.04 Ubuntu 20.04
Network Utilitiesdig host ip nmap
OpenVPNCentOS 7 CentOS 8 Debian 10 Debian 8/9 Ubuntu 18.04 Ubuntu 20.04
Package Managerapk apt
Processes Managementbg chroot cron disown fg jobs killall kill pidof pstree pwdx time
Searchinggrep whereis which
User Informationgroups id lastcomm last lid/libuser-lid logname members users whoami who w
WireGuard VPNAlpine CentOS 8 Debian 10 Firewall Ubuntu 20.04
1 comment… add one
  • Joseph Jun 29, 2010 @ 14:17

    I have a Solaris 9 system where I can do:

    ps -ef |grep user01

    and see a user logged in. But when I do:

    w |grep user01

    They do not show up. Also, if I do:

    last user01

    I do not see the current logged in user.

    What could cause this?

Leave a Reply

Your email address will not be published.

Use HTML <pre>...</pre> for code samples. Problem posting comment? Email me @