Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Aug 2008
lsof vs. cat /proc/sys/fs/file-nr vs. ulimit
1. how to check the maximum files for my pid?
2. how to list the current number of files open? (I assume my command above is correct for that on ls | wc -l?)
1.If I'm not wrong,you can't set max. fd limit per process basis , only per user basis.
2.Yes,ls /proc/pid/fd should work along with command likes lsof,fuser etc