:Finding The Number Of Open File Descriptors Per Process On Linux And Unix
Finding The Number Of Open File Descriptors Per Process On Linux And Unix Jun 11, 2008, 06 :00 UTC (0 Talkback[s]) (4889 reads) (Other stories by Mike Tremell)
"Today, we're going to take a look at a fairly simple process (no pun intended), but one that (perhaps) doesn't come up enough in our workaday environments that the answer comes to mind as obviously as it should. How does one find the number of open file descriptors being used by any given process?
"The question is a bit of a trick, in and of itself, since some folks define 'open file descriptors' as the number of files any given process has open at any given time. For our purposes, we'll be very strict, and make the (usually fairly large) distinction between 'files open' and 'open file descriptors...'"