I am trying to get a list of tmux sockets that are currently being used but the best solution I\'ve come up with so far is to check in /tmp/tmux* or TMPDIR.
As far as I
Assuming that the tmux sockets are located at /tmp, which is where they wil be by default, To list all the sockets,
lsof | grep tmp/tmux
To list all sockets used by tmux you can use lsof:
tmux
lsof
lsof -U | grep '^tmux'
Use sudo if the inquirer doesn't own the process.
sudo