Guest User

Untitled

a guest
Feb 25th, 2018
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. # first you start the application and get the PID
  2.  
  3. ps aux | grep -i "app_name"
  4.  
  5.  
  6. #after that watch the open files base on that PID keep this terminal open
  7. watch -n 0.2 'sudo lsof -p PID | wc -l'
  8.  
  9.  
  10. #put a load to your application you can see number of open files and fix it ^^
Add Comment
Please, Sign In to add comment