Home > Archive > Unix Programming > January 2007 > File descriptors of a process
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
File descriptors of a process
|
|
| anil.pundoor@gmail.com 2007-01-25, 8:05 am |
| Hi
Is it possible to get file descriptors of a given process id. If
possible how it can be done.
Thanks in advance
regards
Anil
| |
| Sandeep 2007-01-25, 8:05 am |
| Have you tried lsof?
Cheers,
Sandeep
--
http://sandeep.weblogs.us/
On Jan 25, 5:06 pm, anil.pund...@gmail.com wrote:
> Hi
> Is it possible to get file descriptors of a given process id. If
> possible how it can be done.
>
> Thanks in advance
>
> regards
> Anil
| |
| Loic Domaigne 2007-01-25, 7:05 pm |
| Hi Anil,
> Is it possible to get file descriptors of a given process id. If
> possible how it can be done.
>
> Thanks in advance
$ lsof -p pid
where pid is the process id.
Cheers,
Loic.
|
|
|
|
|