I'd like to get a list of all of the apps (across all users) on my machine that are talking to the X server. What's the most reliable way to do that? Find the socket X runs on and lsof for connections to it? I'm running both Linux and Solaris boxes, so I'd be interested in answers for both OS's.




I'm not sure about Solaris:

xrestop might be helpful.

  • 1
    xlsclients is just the same on Solaris as it is on Linux and all other Unix-like systems. – alanc Dec 30 '16 at 5:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.