* How to determine how many file descriptors a process has open?
@ 1999-04-20 4:00 Steve Wyeth
1999-04-20 4:00 ` Serguei Patchkovskii
0 siblings, 1 reply; 2+ messages in thread
From: Steve Wyeth @ 1999-04-20 4:00 UTC (permalink / raw)
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: How to determine how many file descriptors a process has open?
1999-04-20 4:00 How to determine how many file descriptors a process has open? Steve Wyeth
@ 1999-04-20 4:00 ` Serguei Patchkovskii
0 siblings, 0 replies; 2+ messages in thread
From: Serguei Patchkovskii @ 1999-04-20 4:00 UTC (permalink / raw)
Steve Wyeth (stevew@dougal.logica.co.uk) wrote:
: I'm interested in determining how many file descriptors a particular
: process has currently open (I suspect a leak therein).
lsof (ftp://vic.cc.purdue.edu/pub/tools/unix/lsof, but also available
from the freeware CD) would be my favorite.
Regards,
/Serge.P
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1999-04-20 4:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-04-20 4:00 How to determine how many file descriptors a process has open? Steve Wyeth
1999-04-20 4:00 ` Serguei Patchkovskii
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox