LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices

Reply
 
Search this Thread
Old 03-29-2005, 04:48 AM   #1
node047
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
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE 13.1 / 12.3_64-KDE, Ubuntu 14.04, Fedora 20, Mint 17, Chakra
Posts: 3,650

Rep: Reputation: Disabled
Code:
lsof

   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.
 
  


Reply


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


All times are GMT -5. The time now is 03:21 AM.

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