Open GoogleCodeExporter opened 9 years ago
Original comment by g.rodola
on 30 Apr 2013 at 7:33
Update: it seems this is due to deleted files.
import os
import time
p = psutil.Process(os.getpid())
f = open('xxx', 'w')
time.sleep(.1)
os.remove(f.name)
print p.get_open_files()
...will print:
[openfile(path='/usr/local/bin/python', fd=-5), openfile(path='', fd=3)]
Original comment by g.rodola
on 15 May 2013 at 2:21
Original issue reported on code.google.com by
g.rodola
on 30 Apr 2013 at 7:31