Created
May 23, 2014 02:46
-
-
Save stevenjack/d1b56fab0199900b6c25 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
#Install lsof | |
sudo yum install lsof -y | |
#Grab the top tomcat process and list out the number of open files | |
sudo lsof -p $(ps aux | grep -m1 tomcat | cut -d ' ' -f6) | wc -l |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment