17 October 2021
w
is a command to show who is logged on and what they are doing.
It is usefull in shared machine, like server, and then interact with other people connected.
$ w
04:28:16 up 1:04, 1 user, load average: 1,22, 1,99, 3,12
USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
test tty7 :0 03:26 1:01m 8:09 1.47s session
w --help