How to get the list of all my open file(descriptor)s and locks?
Ismael Farfán
sulfurfff at gmail.com
Wed Sep 19 17:58:56 EDT 2012
More information about the Python-list mailing list
Wed Sep 19 17:58:56 EDT 2012
- Previous message (by thread): How to get the list of all my open file(descriptor)s and locks?
- Next message (by thread): How to get the list of all my open file(descriptor)s and locks?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
2012/9/19 Ian Kelly <ian.g.kelly at gmail.com>: > On Wed, Sep 19, 2012 at 2:36 PM, Ismael Farfán <sulfurfff at gmail.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. > -- > http://mail.python.org/mailman/listinfo/python-list Seems like things will get interesting :D Ismael -- 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.
- Previous message (by thread): How to get the list of all my open file(descriptor)s and locks?
- Next message (by thread): How to get the list of all my open file(descriptor)s and locks?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list