SUMMARY: open files by pid

From: Tom Erickson (
Date: Mon Feb 23 1998 - 16:52:23 CST

Hash: SHA1

Hello again everyone...

My original query was:

> Does anyone know of a way to list open files by pid?

The overwhelming response was to use lsof (list open files).
It is available at:

Other responses included fuser and /usr/proc/bin/pfiles.
I think that lsof certainly is more flexible and provides the
development community a tool to assist with debug.
fuser is nice but I need to know the filename ahead of
time and pfiles is nice too but it gives me inodes instead
of file names which I then have to go thru additional
gyrations to figure out.

And many thanks to all all that responed:
Jon Anderson <>
"G. Dimitoglou" <>
Rahul Roy <>
Thomas Leitner <>
"Ian Wallace" <>
Rich Snyder <rsnyder@eos.EAST.HITC.COM>
David Thorburn-Gundlach <>
Mike Blandford <>
"Iskander, Tim" <>
Igor Schein <>
X-Sender: igor@daria (Thomas Anders)
Dan Pritts <>
Daniel Kluge <>
Mattias Zhabinskiy <>
Jay Lessert <>
Jeff Graham <>
Eugene Kramer <>

Version: PGP for Personal Privacy 5.0
Charset: noconv


NASA Goddard Space Flt. Ctr. - RMS Information Systems, Inc.
Data Systems & Technology Division - System Administrator
(For email address to work, replace "_dot_" with ".")
301.286 1439 ('ma-bell)
301.286 1768 (fax)

This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:12:31 CDT