| 1 |
lsof (LiSt Open Files) version 4 |
| 2 |
(revision 4.92) |
| 3 |
|
| 4 |
|
| 5 |
******************************************************************** |
| 6 |
| The latest release of lsof is always available via anonymous ftp | |
| 7 |
| from lsof.itap.purdue.edu. Look in pub/tools/unix/lsof. | |
| 8 |
******************************************************************** |
| 9 |
|
| 10 |
****************************************************************************** |
| 11 |
| CHECK THE PATCHES/ SUBDIRECTORY FOR FIXES TO THE LATEST LSOF DISTRIBUTION. | |
| 12 |
****************************************************************************** |
| 13 |
|
| 14 |
************************************************************************** |
| 15 |
| AVOID USING PRE-BUILT LSOF BINARIES: SEE THE "PRE-BUILT LSOF BINARIES" | |
| 16 |
| SECTION IN 00README FOR AN EXPLANATION. | |
| 17 |
************************************************************************** |
| 18 |
|
| 19 |
********************************************************************** |
| 20 |
| READ 00LSOF-L FOR INFORMATION ON THE LSOF-L LISTSERV MAILING LIST. | |
| 21 |
********************************************************************** |
| 22 |
|
| 23 |
********************************************************************* |
| 24 |
| CHECK 00FAQ BEFORE REPORTING BUGS TO <[email protected]>. | |
| 25 |
| 00FAQ ALSO AT: ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/FAQ | |
| 26 |
********************************************************************* |
| 27 |
|
| 28 |
******************************************************************** |
| 29 |
| IMPORTANT! This README file explains how the lsof tar archive | |
| 30 |
| is assembled -- it's a "wrapper" tar archive. Please read the | |
| 31 |
| explanation of its naming and construction, immediately | |
| 32 |
| following the initial list of supported dialects. | |
| 33 |
******************************************************************** |
| 34 |
|
| 35 |
|
| 36 |
Lsof version 4 lists open files for running UNIX processes. It is a |
| 37 |
descendent of ofiles, fstat, and lsof versions 1, 2, and 3. It has |
| 38 |
been tested recently on these UNIX dialects. |
| 39 |
|
| 40 |
Apple Darwin 9 and Mac OS X 10.[567] |
| 41 |
FreeBSD 8.[234], 9.0 and 1[012].0 for AMD64-based systems |
| 42 |
Linux 2.1.72 and above for x86-based systems |
| 43 |
Solaris 9, 10 and 11 |
| 44 |
|
| 45 |
Lsof 4 may work on other versions of these dialects, but hasn't been |
| 46 |
tested there recently. Lsof versions 2 and 3 are still available and |
| 47 |
may provide older dialect version support. See the notes on them in |
| 48 |
this file. |
| 49 |
|
| 50 |
The pub/tools/unix/lsof/contrib directory on lsof.itap.purdue.edu also |
| 51 |
contains information on other ports. |
| 52 |
|
| 53 |
Version 4 of lsof is distributed as bzip2'd, gzip'd and compressed tar |
| 54 |
archives in the files: |
| 55 |
|
| 56 |
ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/lsof.tar.bz2 |
| 57 |
and |
| 58 |
ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/lsof.tar.gz |
| 59 |
and |
| 60 |
ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/lsof.tar.Z |
| 61 |
|
| 62 |
These files are links to the current distribution, whose name includes |
| 63 |
the revision number: |
| 64 |
|
| 65 |
ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof_<rev>.tar.bz2 |
| 66 |
and |
| 67 |
ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof_<rev>.tar.gz |
| 68 |
and |
| 69 |
ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof_<rev>.tar.Z |
| 70 |
|
| 71 |
<rev> is the revision number -- e.g., 4.92. These archives are called |
| 72 |
wrappers, because the lsof source tar archive, its GPG certificate |
| 73 |
(lsof_<rev>_src.tar.sig), and some documentation files are wrapped |
| 74 |
together inside them. (The GPG certificate authenticates the source |
| 75 |
tar archive.) A tar archive with: a ``.bz2'' suffix has been |
| 76 |
compressed with bzip2; ``.gz'', with gzip; and ``.Z'', with compress. |
| 77 |
|
| 78 |
When the wrapper tar is gunzip'd or uncompressed, and its tar archive |
| 79 |
contents are extracted, an lsof_4.92 subdirectory is created in the |
| 80 |
directory where the extraction was performed. The lsof_4.92 |
| 81 |
subdirectory contains these files: |
| 82 |
|
| 83 |
00.README.FIRST contains introductory distribution |
| 84 |
information. |
| 85 |
|
| 86 |
README.lsof_4.92 contains instructions for the |
| 87 |
security-conscious on how to be |
| 88 |
sure that no one has tampered with |
| 89 |
the distribution. |
| 90 |
|
| 91 |
RELEASE_SUMMARY_4.92 is this file. |
| 92 |
|
| 93 |
lsof_4.92_src.tar is a tar archive, containing the |
| 94 |
lsof sources. When extracted with |
| 95 |
tar it creates a subdirectory named |
| 96 |
lsof_4.92_src in the directory |
| 97 |
where the extraction was performed. |
| 98 |
The lsof source files will be found |
| 99 |
in lsof_4.92_src. |
| 100 |
|
| 101 |
lsof_4.92_src.tar.sig is a GPG certificate, authenticating |
| 102 |
the lsof_4.92_src.tar archive. See the |
| 103 |
README.lsof_4.92 file for more |
| 104 |
information on GPG authentication of |
| 105 |
lsof_4.92_src.tar. |
| 106 |
|
| 107 |
If you've obtained this file and an lsof distribution from a mirror |
| 108 |
site, please be aware that THE LATEST VERSION OF LSOF IS AVAILABLE VIA |
| 109 |
ANONYMOUS FTP FROM LSOF.ITAP.PURDUE.EDU IN THE PUB/TOOLS/UNIX/LSOF |
| 110 |
DIRECTORY. |
| 111 |
|
| 112 |
Patches to lsof distributions may be found in the patches/ sub- |
| 113 |
directory where you found lsof.tar.bz2, lsof.tar.gz or lsof.tar.Z. |
| 114 |
If there are any patches to the current distribution, they will be |
| 115 |
found in the patches/4.92/ branch. |
| 116 |
|
| 117 |
(If you need a copy of gunzip, look for it at prep.ai.mit.edu in |
| 118 |
pub/gnu/gzip*.) |
| 119 |
|
| 120 |
The March 26, 2018 revision (4.91): corrects a bug in the processing of Linux |
| 121 |
PTY endpoint information. |
| 122 |
|
| 123 |
The June 6, 2018 revision (4.92:) is a FreeBSD-only revision; it corrects a bug |
| 124 |
in the Configure script section that creates a local lockf_owner.h header |
| 125 |
file; removes a <string,h> kernel header conflicts. |
| 126 |
|
| 127 |
Read the 00.README.FIRST in the lsof distribution first. |
| 128 |
|
| 129 |
Read the 00DIST distribution file for more details on feature additions |
| 130 |
and bug fixes. |
| 131 |
|
| 132 |
The 00README distribution file has build instructions, dialect |
| 133 |
descriptions, special feature discussions, and installation hints. |
| 134 |
|
| 135 |
The 00FAQ file contains a list of frequently asked questions and their |
| 136 |
answers. |
| 137 |
|
| 138 |
The 00DCACHE file explains device cache file path formation. |
| 139 |
|
| 140 |
The 00PORTING file contains information on porting lsof to other UNIX |
| 141 |
dialects. |
| 142 |
|
| 143 |
The 00QUICKSTART file gives a quick introduction to using lsof. |
| 144 |
|
| 145 |
The distribution files lsof.8 (nroff source) and lsof.man (nroff |
| 146 |
formatted output) contain the manual page for lsof; it is the only |
| 147 |
other documentation besides the source code (it's included). |
| 148 |
|
| 149 |
|
| 150 |
Version 4 Binaries |
| 151 |
================== |
| 152 |
|
| 153 |
Version 4 binaries for some revisions, dialects, and platforms may be |
| 154 |
found in pub/tools/unix/lsof/binaries. Check the README files for |
| 155 |
exact descriptions. Check the dialect-specific Makefiles for |
| 156 |
installation instructions. CHECKSUMS and GPG certificates are provided |
| 157 |
for authentication. |
| 158 |
|
| 159 |
Please think very carefully before you decide to use a pre-built binary |
| 160 |
instead of making your own from the sources. Here are some points to |
| 161 |
consider: |
| 162 |
|
| 163 |
1. Lsof must run setgid or setuid. Are you willing to trust that |
| 164 |
power to a binary you didn't construct yourself? |
| 165 |
|
| 166 |
2. Lsof binaries may be generated on a system whose configuration |
| 167 |
header files differ from yours. Under Digital UNIX (DEC OSF/1), for |
| 168 |
example, lsof includes header files from the machine's configuration |
| 169 |
directory, /sys/<name>. Are you willing to gamble that your |
| 170 |
configuration directory's header files match the ones used to |
| 171 |
compile lsof? |
| 172 |
|
| 173 |
3. Lsof is often configured with specific options that are determined |
| 174 |
from the configuration of the system on which it is configured -- |
| 175 |
e.g., Solaris patch level, dynamic loader libraries, etc. Are you |
| 176 |
sure that the lsof binary you retrieve will have been configured for |
| 177 |
your system? If you get a binary that is misconfigured for you, it |
| 178 |
may not work at all. |
| 179 |
|
| 180 |
If you haven't already guessed, I believe firmly that you should |
| 181 |
retrieve sources and build your own binary. If you still want to use |
| 182 |
the distribution binaries, please authenticate what you retrieved with |
| 183 |
the GPG certificates; please compare checksums, too. |
| 184 |
|
| 185 |
|
| 186 |
Version 4 Checksums |
| 187 |
=================== |
| 188 |
|
| 189 |
Security checksums -- both MD5 and sum(1) -- for revisions of lsof |
| 190 |
version 4 are contained in the README.lsof_<rev> files in the wrapper |
| 191 |
tar archives of pub/tools/unix/lsof. |
| 192 |
|
| 193 |
The CHECKSUMS file, found with the distribution archives, contains |
| 194 |
information on validating the archives with external MD5 checksums and |
| 195 |
external GPG certificates. |
| 196 |
|
| 197 |
|
| 198 |
GPG Certificates |
| 199 |
================ |
| 200 |
|
| 201 |
The lsof wrapper tar archive includes a GPG certificate file in its |
| 202 |
contained lsof_4.71_src.tar.sig file. |
| 203 |
|
| 204 |
Binary files have detached GPG certificates that may be found in their |
| 205 |
directories with ".sig" extensions. |
| 206 |
|
| 207 |
The certificates are signed with my GPG public key, which may be found |
| 208 |
in the file: |
| 209 |
|
| 210 |
ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/Victor_A_Abell.gpg |
| 211 |
|
| 212 |
My key may also be available at some public key servers, |
| 213 |
|
| 214 |
There is also authentication information in the CHECKSUMS file (a link |
| 215 |
to CHECKSUMS_<rev>), found with the lsof distribution files. CHECKSUMS |
| 216 |
contains external MD5 checksums for the distribution files and |
| 217 |
information on using the external GPG certificates, found with the lsof |
| 218 |
distribution files. |
| 219 |
|
| 220 |
|
| 221 |
Old Dialect Support |
| 222 |
=================== |
| 223 |
|
| 224 |
Remnants of source code and binaries for dialects for which lsof once |
| 225 |
provided support may be obtained by request. Send the request to |
| 226 |
[email protected]. |
| 227 |
|
| 228 |
Dialects no longer supported include: |
| 229 |
|
| 230 |
CDC EP/IX |
| 231 |
MIPS RISC/os |
| 232 |
Motorola V/88 |
| 233 |
Pyramid DC/OSx |
| 234 |
Pyramid Reliant UNIX |
| 235 |
Sequent DYNIX |
| 236 |
SGI IRIX |
| 237 |
SunOS 4.1.x |
| 238 |
Ultrix |
| 239 |
|
| 240 |
Generally I drop support for a dialect when I no longer have access to |
| 241 |
a test system. |
| 242 |
|
| 243 |
|
| 244 |
Lsof Version 2 |
| 245 |
============== |
| 246 |
|
| 247 |
The version 3 predecessor, revision 36 of version 2, is also available |
| 248 |
upon request. Send the request to [email protected]. |
| 249 |
|
| 250 |
I recommend you avoid lsof version 2. It's out of date and I no |
| 251 |
longer provide support for it. (Versions 3 and 4 support more |
| 252 |
dialects, and have many enhancements, bug fixes, and improvements.) |
| 253 |
Version 2 was tested on the following UNIX dialects: |
| 254 |
|
| 255 |
AIX 3.2.[1234] for the IBM RISC/System 6000 |
| 256 |
DEC OSF/1 1.[23] and 2.0 for the DEC Alpha |
| 257 |
EP/IX 1.4.3 and 2.1.1 for the CDC 4680 |
| 258 |
ETAV 1.17 for the ETA-10P* |
| 259 |
FreeBSD 1.0e for x86-based systems |
| 260 |
HP-UX [789].x for HP systems |
| 261 |
IRIX 4.0.5 and 5.1.1 for SGI systems |
| 262 |
NEXTSTEP 2.1, 3.0, 3.1 for NeXT systems |
| 263 |
Sequent Dynix 3.0.12 for Sequent Symmetry systems |
| 264 |
SunOS 4.1.[123] for Sun 3 and 4 systems |
| 265 |
SunOS 5.[13] (Solaris 2.[13]) for Sun 4 systems |
| 266 |
Ultrix 2.2 and 4.2 for DEC systems |
| 267 |
|
| 268 |
(If you need a copy of gunzip, look for it at prep.ai.mit.edu in |
| 269 |
pub/gnu.) |
| 270 |
|
| 271 |
|
| 272 |
Version 2 Checksums |
| 273 |
=================== |
| 274 |
|
| 275 |
MD5: |
| 276 |
(OLD/lsof236tar.gz) = f8a1ab3971ea2f6a3ea16752f84409e8 |
| 277 |
|
| 278 |
sum(1): |
| 279 |
39996 106 OLD/lsof236tar.gz |
| 280 |
|
| 281 |
The file OLD/lsof236tar.gz.asc is a detached PGP certificate that may |
| 282 |
be used to authenticate OLD/lsof236tar.gz with my PGP public key. You |
| 283 |
may find my PGP public key at: |
| 284 |
|
| 285 |
ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/OLD/Victor_A_Abell.pgp |
| 286 |
|
| 287 |
|
| 288 |
Lsof Version 3 |
| 289 |
============== |
| 290 |
|
| 291 |
The last revision of lsof version 3, 3.88, may obtained by request. |
| 292 |
Send the request to [email protected]. |
| 293 |
|
| 294 |
I recommend version 4 over version 3. It is the version I actively |
| 295 |
support. |
| 296 |
|
| 297 |
Lsof version 3 was tested on these UNIX dialects: |
| 298 |
|
| 299 |
AIX 3.2.5, 4.1[.[1234]], and 4.2 |
| 300 |
BSDI BSD/OS 2.0, 2.0.1, and 2.1 for x86-based systems |
| 301 |
DC/OSx 1.1 for Pyramid systems |
| 302 |
Digital UNIX (DEC OSF/1) 2.0, 3.0, 3.2, and 4.0 |
| 303 |
EP/IX 2.1.1 for the CDC 4680 |
| 304 |
FreeBSD 1.1.5.1, 2.0, 2.0.5, 2.1, 2.1.5 for x86-based |
| 305 |
systems |
| 306 |
HP-UX 8.x, 9.x, 10.01, 10.10, and 10.20 |
| 307 |
IRIX 5.2, 5.3, 6.0, 6.0.1, and 6.[124] |
| 308 |
Linux 2.0.3[01] and 2.1.57 for x86-based systems |
| 309 |
NetBSD 1.0, 1.1, and 1.2 for x86 and SPARC-based |
| 310 |
systems |
| 311 |
NEXTSTEP 2.1 and 3.[0123] for NEXTSTEP architectures |
| 312 |
OpenBSD 1.2 and 2.0 for x86-based systems |
| 313 |
Reliant UNIX 5.43 for Pyramid systems |
| 314 |
RISC/os 4.52 for MIPS R2000-based systems |
| 315 |
SCO OpenServer 1.1, 3.0, and 5.0.[024] for x86-based |
| 316 |
systems |
| 317 |
SCO UnixWare 2.1 and 2.1.1 for x86-based systems |
| 318 |
Sequent PTX 2.1.[1569], 4.0.[23], 4.1.[024], 4.2[.1], |
| 319 |
and 4.3 |
| 320 |
Solaris 2.[12345], 2.5.1, and 2.6-Beta |
| 321 |
SunOS 4.1.x |
| 322 |
Ultrix 4.2, 4.3, 4.4, and 4.5 |
| 323 |
|
| 324 |
|
| 325 |
Vic Abell <[email protected]> |
| 326 |
July 14, 2018 |