Finding count of currently open file descriptors.

Tim McNerney tmcnerney at truis.com
Tue Jul 30 10:08:41 EDT 2002


How do I go about finding out the number of file descriptors currently 
open in a program? I'm trying to track down a file descriptor leak which 
may or may not be in library calls. Will I run into problems getting an 
accurate count due to the possible delay between doing a close and GC?

Thanks.

--Tim




More information about the Python-list mailing list