Created
February 24, 2016 15:26
-
-
Save FooBarWidget/2cbd35b910cb4349859f to your computer and use it in GitHub Desktop.
This file contains hidden or 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
PIDS='1234 5678' | |
for PID in $PIDS; do | |
echo "----- PID $PID -----" | |
cat /proc/$PID/limits | |
lsof -a -d 1-999999 -p $PID | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment