Created
October 7, 2016 22:42
-
-
Save c0mpiler/e59ebf04a872ad2c1211ceab43f378bb to your computer and use it in GitHub Desktop.
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
cd /proc | |
for pid in [0-9]* | |
do | |
echo "PID = $pid with $(ls /proc/$pid/fd/ | wc -l) file descriptors" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment