home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Unix System Administration Handbook 1997 October
/
usah_oct97.iso
/
index
/
lsof.txt
< prev
next >
Wrap
Text File
|
1997-09-22
|
5KB
|
118 lines
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
INDEX ENTRY FOR LSOF:
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Name: lsof - Lists files that are currently open
Version: 4.15
Author(s): Vic Abell, Purdue University <abe@purdue.edu>
On the CD-ROM in: security/lsof.tar
Ftp source: vic.cc.purdue.edu:/pub/tools/unix/lsof/
Size on the CD: 666 KB (compressed)
A PGP signature is provided for the source inside the tar wrapper.
Description:
Lsof lists information about files opened by processes
for the UNIX dialects listed below.
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 or all the files in a file
system may be selected by path.
The lsof output describes:
* the identification number of the process (PID) that opened the file;
* the process group identification number (PGRP) of the process (optional);
* the identification number of the parent process (PPID) (optional);
* the command the process is executing;
* the owner of the process;
For all files in use by the process - including the executing
text file and the shared libraries it is using - lsof also reports:
* the file descriptor number of the file, if applicable;
* the file's access mode;
* the file's lock status;
* the file's device numbers;
* the file's inode number;
* the file's size or offset;
* the name of the file system containing the file;
* any available components of the file's path name;
* the names of the file's stream components;
* the file's local and remote network addresses;
* other file or dialect-specific values.
-- Quoted from the man page, the file 00DIST in the lsof distribution,
and personal email.
Advertised architectures:
Version 4 has been tested on:
AIX 4.1.[45] and 4.2[.1]
BSDI BSD/OS 2.1 and 3.0 for Intel-based systems
DC/OSx 1.1 for Pyramid systems
Digital UNIX (DEC OSF/1) 2.0, 3.2, and 4.0
FreeBSD 2.1.[67], 2.2 and 3.0 for Intel-based systems
HP-UX 9.x and 10.20
IRIX 5.3, 6.2, 6.3, and 6.4
Linux 2.0.30, 2.1.2[89], 2.1.3[45], and 2.1.42 for Intel-based systems
NetBSD 1.2 for Intel and SPARC-based systems
NEXTSTEP 3.1
OpenBSD 2.0 and 2.1 for Intel-based systems
Reliant UNIX 5.43 for Pyramid systems
RISC/os 4.52 for MIPS R2000-based systems
SCO OpenServer Release 3.0 and 5.0.x for Intel-based systems
SCO UnixWare 2.1.[12] for Intel-based systems
Sequent PTX 2.1.9, 4.2.1, and 4.[34]
Solaris 2.[345], 2.5.1, and 2.6-Beta_UpdateII
SunOS 4.1.x
Ultrix 4.2
The pub/tools/unix/lsof/contrib directory on vic.cc.purdue.edu
contains information on other ports. If your favorite Unix
dialect is not in the list, or if your version of it is more
recent than the ones listed, please contact me at <abe@vic.cc.purdue.edu>.
Version 3 of lsof was tested on:
AIX 3.2.5, 4.1[.[1234]], and 4.2 for the IBM RISC/System 6000
BSDI BSD/OS 2.0, 2.0.1, and 2.1 for Intel-based systems
DC/OSx 1.1 for Pyramid systems
EP/IX 2.1.1 for the CDC 4680
FreeBSD 1.1.5.1, 2.0, 2.0.5, 2.1, 2.1.5 for Intel-based systems
HP-UX 8.x, 9.x, 10.01, 10.10, and 10.20 for HP systems
IRIX 5.2, 5.3, 6.0, 6.0.1, and 6.[124] for SGI systems
Linux through 2.0.27 for Intel-based systems
NetBSD 1.0, 1.1, and 1.2 for Intel and SPARC-based systems
NEXTSTEP 2.1 and 3.[0123] for NEXTSTEP architectures
OpenBSD 1.2 and 2.0 for Intel-based systems
OSF/1 2.0, 3.0, 3.2, and 4.0-Beta for the DEC Alpha
Reliant UNIX 5.43 for Pyramid systems
RISC/os 4.52 for MIPS R2000-based systems
SCO OpenServer 1.1, 3.0, and 5.0.[024] for Intel-based systems
SCO UnixWare 2.1 and 2.1.1 for Intel-based systems
Sequent PTX 2.1.[1569], 4.0.[23], 4.1.[024], 4.2[.1],
and 4.3 for Sequent systems
Solaris 2.[123456], 2.5.1, and 2.6-Beta for Sun4 and i86pc systems
SunOS 4.1.[1234] for Sun 3 and 4 systems
Ultrix 4.2, 4.3, 4.4, and 4.5 for DEC RISC and VAX
Version 3 and its predecessor, version 2, may be found at:
ftp://vic.cc.purdue.edu/pub/tools/unix/lsof/OLD
-- Adapted from the 00DIST file in the 4.01 distribution
Prerequisites:
C Compiler, gunzip or uncompress utilities; if using gcc, you
need properly "fixed" gcc-private header files.