w command

w - Show who is logged on and what they are doing.

Found in linux and other *nix operating systems. Useful in shared servers to see users logged in and what processes they're executing. Sample output below:

09:04:53 up 102 days, 17:01,  7 users,  load average: 0.33, 0.27, 0.27
USER     TTY      FROM             LOGIN@   IDLE   JCPU   PCPU WHAT
diego    pts/0    tmux(64245).%28  11Aug22 17:52m 49:13   0.28s -bash