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
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 -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.
d) Find out who is logged in on remote machines
$ rusers remoteserver
- 30 Handy Bash Shell Aliases For Linux / Unix / Mac OS X
- Top 30 Nmap Command Examples For Sys/Network Admins
- 25 PHP Security Best Practices For Sys Admins
- 20 Linux System Monitoring Tools Every SysAdmin Should Know
- 20 Linux Server Hardening Security Tips
- Linux: 20 Iptables Examples For New SysAdmins
- Top 20 OpenSSH Server Best Security Practices
- Top 20 Nginx WebServer Best Security Practices
- 20 Examples: Make Sure Unix / Linux Configuration Files Are Free From Syntax Errors
- 15 Greatest Open Source Terminal Applications Of 2012
- My 10 UNIX Command Line Mistakes
- Top 10 Open Source Web-Based Project Management Software
- Top 5 Email Client For Linux, Mac OS X, and Windows Users
- The Novice Guide To Buying A Linux Laptop