I use one daemon per project (so that when I open the client, they don't share buffers). I'd like to get a list of all the daemons that are running.
I tried using
lsof -c emacs | grep "TYPE=STREAM" but that doesn't narrow it down sufficiently.
Is there a better way to go about it?