Re: How to get the list of all my open file(descriptor)s and locks?
2012/9/19 Ian Kelly <firstname.lastname@example.org>:
> On Wed, Sep 19, 2012 at 2:36 PM, Ismael Farfán <email@example.com>wrote:
>> It seems like I can use os.fstat to find out if a fd exists and also
>> get it's type and mode (I'm getting some pipes too : )
> Sure, because files and pipes both use the file descriptor
> abstraction. If your process does any networking, you'll find sockets
> in there as well.
Seems like things will get interesting :D
Do not let me induce you to satisfy my curiosity, from an expectation,
that I shall gratify yours. What I may judge proper to conceal, does
not concern myself alone.
|All times are GMT. The time now is 09:45 AM.|
Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.