Hi,
I think file-nr gives no of open files in the system and lsof gives it per user.
But I have root's no of open files > file-nr .
How it is possible. pls correct me if I am wrong.
bash-3.2# cat /proc/sys/fs/file-nr
704 0 8192
-bash-3.2# lsof -u root | wc -l
872
-bash-3.2# cat /proc/sys/fs/file-nr
704 0 8192
-bash-3.2# lsof -u root | wc -l
877
-bash-3.2# cat /proc/sys/fs/file-nr
704 0 8192

Reply With Quote
