[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dh_installinit


On Sun, 11 Nov 2007 20:31:55 -0700
Tim Spriggs <tim@tajinc.org> wrote:

> Is there no way of listing open file handles within a process? It seems 
> like there should be a better way. If the kernel knows what file handles 
> exist (and lsof can get the info) then what's stopping a process from 
> accessing that information directly? Maybe it's just not portable enough?

You can definitely get it from /proc, but it is far from being portable.

	Michal Čihař | http://cihar.com | http://blog.cihar.com

Attachment: signature.asc
Description: PGP signature

Reply to: