I have Centos 6.7 running java application via a wrapper programme. So first I ran this.
lsof -p 15200 | wc -l and I got the results immediately as 200
next I ran this
lsof -p 15232 | wc -l I keep taking too long and never generated any results. What other method can I use to get the total open files? I need to know cause my system keep hanging after certain time. I will maybe need to increase the open file size.