Apologies for obviously a well-known question and its
answer. I received a few answers rather quickly. lsof
figured in all answers. In addition, Larry tells me about
HP-Glance Plus which looks very useful. Special thanks to Nate
for ftp ls listing and to Dave for manual entry.
Thanks to all who responded.
"Larry J. Miller" <email@example.com>
Syed Zaeem Hosain <firstname.lastname@example.org>
Michael Seeger <email@example.com>
"Mark G. Owens" <firstname.lastname@example.org>
Nate Itkin <Nate-Itkin@ptdcs2.intel.com>
Dave Fetrow <email@example.com>
The original query is below followed by all responses.
Best of Irish,
From: "Larry J. Miller" <firstname.lastname@example.org>
I use a commercial program called HP-Glance Plus. It runs on HPs, SUNS, and
Solaris. It is an excellent program that monitors CPU, Memory, Disk, and
Network usage. And with a few clicks, you can select a process, and then
another click to see all open files associated with that process. I HIGHLY
From: Syed Zaeem Hosain <email@example.com>
Archie for "lsof". It does exactly what your colleague wants.
From: Michael Seeger <firstname.lastname@example.org>
Sorry for this beeing so late, i was on holiday for a long weekend
What you are looking for is called lsof, Sources available for example
or ask archie for your next ftp-server.
Works fine for both 4.1.x and 5.x
From: "Mark G. Owens" <email@example.com>
Try lsof...avalible from your favorite ftp site. I will give you
a list of ALL open files (be they sockects, files, or devices).
It runs under 4.1.x, haven't tried it on Solaris 2.x yet.
From: Nate Itkin <Nate-Itkin@ptdcs2.intel.com>
SunOS 4.1.x is very easy. You want to get a copy of lsof - does exactly
what you want. Maybe someone has ported it to Sodaris by now - I haven't
looked at version 3.05.
FILE -rw-rw-r-- 3501 Aug 2 13:24 lsof.README
FILE -rw-rw-r-- 108018 May 24 12:38 lsof236tar.gz
FILE -rw-rw-r-- 313397 Jul 27 04:09 lsof_3.05.tar.Z
FILE -rw-rw-r-- 188694 Jul 27 04:09 lsof_3.05.tar.gz
From: Dave Fetrow <firstname.lastname@example.org>
I believe the infinitely wonderful lsof program can do this.
LSOF(8) MAINTENANCE COMMANDS LSOF(8)
lsof - list open files
lsof [ -dhlLnNostTU ] [ -c c ] [ -i i ] [ -k k ] [ -p l ] [
-u l ] names
Lsof version 2.16 lists information about files opened by
processes for the following operating systems:
AIX 3.2 for the IBM RISC/System 6000
Dynix 3.0.12 and 3.1.2 for the Sequent Symmetry S81
EP/IX 1.4.3 for the CDC 4680
ETAV (SYSV3.1 with Lachman TCP/IP 3.0) for the ETA-10P*
HP-UX 7.x and 8.x for Hewlett Packard work stations
IRIX 4.0.5 for the Silicon Graphics Indigo
NeXTStep 2.1 and 3.0 for the NeXT Work Station
SunOS 4.1.1, 4.1.2 and 4.1.3
SunOS 5.1 (Solaris 2.1)
(Previous versions of lsof worked under AIX 3.1.,
NeXTStep 2.0 and SunOS 4.1, but lack of access to these
platforms has prevented testing the current version on
An open file may be a regular file, a directory, a block
special file, a character special file, an executing text
reference, a library, a stream or a network file (Internet
socket, NFS file or Unix domain socket.) A specific file may
be selected by its path name.
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:09:08 CDT