3
votes
2answers
2k views

Number of file descriptors: different between /proc/sys/fs/file-nr and /proc/$pid/fd?

I would like to check how many file descriptors are actually used: cat /proc/sys/fs/file-nr 12750 0 753795 The first column (12750) indicates the number of file descriptors allocated since ...