From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,8fb8a3ab5ca2fe7b,start X-Google-Attributes: gidfee84,public From: stevew@dougal.logica.co.uk (Steve Wyeth) Subject: How to determine how many file descriptors a process has open? Date: 1999/04/20 Message-ID: #1/1 X-Deja-AN: 468743275 Distribution: world Organization: Logica UK Newsgroups: comp.unix.osf.osf1 I'm interested in determining how many file descriptors a particular process has currently open (I suspect a leak therein). I can't modify the source code for the process but I can write a tool to take a look at /proc etc if need be to scan a specified process ID. How, therefore, do I get hold of the number of file descriptors that a particular process currently has open? Ta in advance, Steve W.