w - Show who is logged on and what they are doing
Example of output
21:12:07 up 12:07, 5 users, load average: 0.59, 0.35, 0.49
USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
andrew seat0 login- 09:04 0.00s 0.00s 0.01s /usr/libexec/gdm-wayland-session env GNOME_SHELL_SESSION_MODE=u
andrew tty2 tty2 09:04 12:07m 0.06s 0.05s /usr/libexec/gnome-session-binary --session=ubuntu
andrew pts/1 tmux(10995).%0 09:44 23.00s 5.12s 5.12s -zsh
andrew pts/2 tmux(10995).%2 09:48 39.00s 8.96s 0.23s vi -S /home/andrew/Code/note/.create-nvimrc +start /home/andrew
andrew tty3 - 16:36 4:31m 1.20s 1.14s -zsh