For the terminal jockies, this is a quick and dirty for finding who, or what, is connected to your server. This proves useful when you’re running in tmux and want a pane for tracking what is left to disconnect from your database before shutting it down.
This could be done in tools like mytop, but who needs all that overhead when you have this:
1 2 3 4 5 6 7 8 9 10 11 12 13 14
Mix that up with a little watch magic, and you’ve got realtime updates: