How many files are opened by the Kernel ?
Hi,
Where can I find in /proc the number of opened files actually (not how to set the maximum :) ) Thanks |
Hi,
Code:
[root@srv-4 proc]# cat /proc/sys/fs/file-nr Do read the What is an open file? part. Maybe you are looking for lsof | wc -l as mentioned in the article. Hope this helps. |
It is somewhat unclear what the OP means - the distinction between the number of files that the kernel has open at one time, and the number of files that the kernel has had open, presumably since it has been booted, would lead to a difference.
I can only really see a sensible reason to know the number of files that the kernel has open at one time (and that one time to be now), but it is always best to be prepared to be surprised. |
All times are GMT -5. The time now is 05:12 AM. |