- The who command reports information about the current users:
$ who slynux pts/0 2010-09-29 05:24 (slynuxs-macbook-pro.local) slynux tty7 2010-09-29 07:08 (:0)
This output lists the login name, the TTY used by the users, login time, and remote hostname (or X display information) about logged in users.
- The w command provides more detailed information:
$ w 07:09:05 up 1:45, 2 users, load average: 0.12, 0.06, 0.02 USER TTY FROM LOGIN@ IDLE JCPU ...