How do I tell which users are connected to a shared tmux socket?
Like another user said in comments <prefix> D
will list all the sessions but keep in mind that pressing enter will detach that client (which may or may not be what you want)
You can use the list-clients
command. By itself, it displays all clients connected to the server. If you specify a session with the -t
option, it shows clients attached to the named session.