getting a list of open files versus PID nos.?

Sean C. Farley scf at FreeBSD.org
Thu Dec 9 23:30:15 UTC 2010


On Thu, 9 Dec 2010, Chuck Robey wrote:

> Ahh, the procstat -a -f output was more clearly readable than even the 
> suggested lsof.  I found that enlightenment was opening 2,672 
> different /dev/apmNNNN devices.  Man apm tells me it's to do with 
> Advanced Power Mgm't, nearly all of these huge lumps of open files. 
> How might I deal with getting these /dev/apmNNNN files to close 
> themselves?  Because I have little doubt that I am (at last!!) looking 
> at the reason for my machine lockups.

I think I ran into this long ago.  If I recall correctly, you just need 
to disable the Enlightenment battery/power monitor if running on a 
system without a battery.

Sean
-- 
scf at FreeBSD.org


More information about the freebsd-hackers mailing list