* lsof for Ultrix -- need help
@ 1994-02-09 22:42 Vic Abell
0 siblings, 0 replies; only message in thread
From: Vic Abell @ 1994-02-09 22:42 UTC (permalink / raw)
I maintain and freely provide a program called lsof -- for LiSt
Open Files. It is a descendant of a freely distributed program
(found in the comp.sources.unix archive), called ofiles, and the
fstat program from 4.2BSD-Tahoe. Lsof displays files open by active
processes. It displays information about network files (sockets),
NFS files, and regular files, and its filters enable searching for
specific instances of open files.
Currently lsof runs on a number of Unix OS versions, including AIX
for the RISC/System 6000, HP-UX for the HP 700 series, NeXTStep
for the NeXT work station, OSF/1 for the DEC Alpha (just completed),
and SunOS and Solaris for Sun work stations. Now I am trying to
port it to Ultrix. My development system's uname reports the
version is 4.2.
I need some help finding kernel information:
1. How does one read a dynamically swapped user structure?
It appears the proc structure members p_dmap, p_cdmap,
p_smap, and p_csmap have something to do with it.
2. How does one find the gnodes (or whatever) that hold
references to the executable text file and libraries?
I would appreciate replies via email to <abe@cc.purdue.edu>. A
contact with access to kernel sources would be welcome.
Thanks in advance.
Vic Abell
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1994-02-09 22:42 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-02-09 22:42 lsof for Ultrix -- need help Vic Abell
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox