Created
November 23, 2016 01:26
-
-
Save sameer/5aaf5940b74f4fe1bcd38bf87db1b7de to your computer and use it in GitHub Desktop.
Count X11 Clients
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
lsof -U | grep -i socket | cut -d ' ' -f 1 | sort | uniq -c |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment