Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-29-2005, 04:48 AM   #1
LQ Newbie
Registered: Mar 2005
Location: india
Posts: 12

Rep: Reputation: 0
file descriptors

can anyone tell me how to display all the file descriptors that are opened by a process during its own run time? I found out that the file descriptors opened are present in /proc with the directory name which is same as the pid of that process. can anyone tell me how to open that file which has the name equivalent to the pid ?
Pl help
Old 03-29-2005, 05:47 AM   #2
Senior Member
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 18.3+19.3, MX-18, Mandrake
Posts: 4,470

Rep: Reputation: Disabled

   and of course

man lsof
I think. (Lists open files but I don't remember the/any options). So at least such a command exists .

Last edited by JZL240I-U; 03-29-2005 at 05:49 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Increasing File Descriptors Geoffrey_Firmin Slackware 5 04-21-2008 09:48 AM
unix file descriptors versus c FILE pointers nodger Programming 9 11-25-2004 07:02 AM
Poll with nonblocking file descriptors bstark Programming 1 11-03-2004 08:27 PM
File Descriptors - How to raise the limit? xmdms Linux - General 3 07-15-2004 12:57 AM
File descriptors odd question ferreter Linux - General 2 02-13-2003 10:21 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:34 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration