[ Usenet FAQs | Search | Web FAQs | Documents | RFC Index ]
Q. How can I determine the files that a process has opened? Q. How can I locate the process that is using a specific network address? Q. How can I locate the processes that have files open on a file system? A. Use lsof (LiSt Open Files). From: "Juan G. Ruiz Pinto" <jgruiz@cyber1.servtech.com> Lsof is available via anonymous ftp from <ftp://vic.cc.purdue.edu/pub/tools/unix/lsof/> (for the most current version). There are binary distributions in the "binary" directory. A prebuilt installp (smit) installable package is available from <http://www-frec.bull.com/>. The installation scripts in this package automatically creates a group "kmem" during the install and uses "acledit" to allow the kmem group to read /dev/mem and /dev/kmem. This configuration is recommended by Vic Abell <abe@purdue.edu>, the author of lsof.
Send corrections/additions to the FAQ Maintainer:
Last Update May 13 2007 @ 00:21 AM