home *** CD-ROM | disk | FTP | other *** search
/ Unix System Administration Handbook 1997 October / usah_oct97.iso / index / lsof.txt < prev    next >
Text File  |  1997-09-22  |  5KB  |  118 lines

  1. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  2. INDEX ENTRY FOR LSOF:
  3. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  4.  
  5. Name: lsof - Lists files that are currently open
  6.  
  7. Version: 4.15
  8.  
  9. Author(s): Vic Abell, Purdue University  <abe@purdue.edu>
  10.  
  11. On the CD-ROM in: security/lsof.tar
  12.  
  13. Ftp source: vic.cc.purdue.edu:/pub/tools/unix/lsof/
  14.  
  15. Size on the CD: 666 KB (compressed)
  16.  
  17. A PGP signature is provided for the source inside the tar wrapper.
  18.  
  19. Description:
  20.  
  21.     Lsof lists information about files opened by processes
  22.     for the UNIX dialects listed below.
  23.  
  24.     An open file may be a regular file, a directory, a block special
  25.     file, a character special file, an executing text reference, a
  26.     library, a stream or a network file (Internet socket, NFS file or
  27.     UNIX domain socket.) A specific file or all the files in a file
  28.     system may be selected by path.
  29.  
  30.     The lsof output describes:
  31.  
  32.     * the identification number of the process (PID) that opened the file;
  33.     * the process group identification number (PGRP) of the process (optional);
  34.     * the identification number of the parent process (PPID) (optional);
  35.     * the command the process is executing;
  36.     * the owner of the process;
  37.  
  38.     For all files in use by the process - including the executing
  39.     text file and the shared libraries it is using - lsof also reports:
  40.  
  41.     * the file descriptor number of the file, if applicable;
  42.     * the file's access mode;
  43.     * the file's lock status;
  44.     * the file's device numbers;
  45.     * the file's inode number;
  46.     * the file's size or offset;
  47.     * the name of the file system containing the file;
  48.     * any available components of the file's path name;
  49.     * the names of the file's stream components;
  50.     * the file's local and remote network addresses;
  51.     * other file or dialect-specific values.
  52.  
  53.     -- Quoted from the man page, the file 00DIST in the lsof distribution,
  54.         and personal email.
  55.  
  56. Advertised architectures:
  57.  
  58.     Version 4 has been tested on:
  59.     
  60.     AIX 4.1.[45] and 4.2[.1]
  61.     BSDI BSD/OS 2.1 and 3.0 for Intel-based systems
  62.     DC/OSx 1.1 for Pyramid systems
  63.     Digital UNIX (DEC OSF/1) 2.0, 3.2, and 4.0
  64.     FreeBSD 2.1.[67], 2.2 and 3.0 for Intel-based systems
  65.     HP-UX 9.x and 10.20
  66.     IRIX 5.3, 6.2, 6.3, and 6.4
  67.     Linux 2.0.30, 2.1.2[89], 2.1.3[45], and 2.1.42 for Intel-based systems
  68.     NetBSD 1.2 for Intel and SPARC-based systems
  69.     NEXTSTEP 3.1
  70.     OpenBSD 2.0 and 2.1 for Intel-based systems
  71.     Reliant UNIX 5.43 for Pyramid systems
  72.     RISC/os 4.52 for MIPS R2000-based systems
  73.     SCO OpenServer Release 3.0 and 5.0.x for Intel-based systems
  74.     SCO UnixWare 2.1.[12] for Intel-based systems
  75.     Sequent PTX 2.1.9, 4.2.1, and 4.[34]
  76.     Solaris 2.[345], 2.5.1, and 2.6-Beta_UpdateII
  77.     SunOS 4.1.x
  78.     Ultrix 4.2
  79.     
  80.     The pub/tools/unix/lsof/contrib directory on vic.cc.purdue.edu
  81.     contains information on other ports. If your favorite Unix
  82.     dialect is not in the list, or if your version of it is more
  83.     recent than the ones listed, please contact me at <abe@vic.cc.purdue.edu>. 
  84.     
  85.     Version 3 of lsof was tested on:
  86.     
  87.     AIX 3.2.5, 4.1[.[1234]], and 4.2 for the IBM RISC/System 6000
  88.     BSDI BSD/OS 2.0, 2.0.1, and 2.1 for Intel-based systems
  89.     DC/OSx 1.1 for Pyramid systems
  90.     EP/IX 2.1.1 for the CDC 4680
  91.     FreeBSD 1.1.5.1, 2.0, 2.0.5, 2.1, 2.1.5 for Intel-based systems
  92.     HP-UX 8.x, 9.x, 10.01, 10.10, and 10.20 for HP systems
  93.     IRIX 5.2, 5.3, 6.0, 6.0.1, and 6.[124] for SGI systems
  94.     Linux through 2.0.27 for Intel-based systems
  95.     NetBSD 1.0, 1.1, and 1.2 for Intel and SPARC-based systems
  96.     NEXTSTEP 2.1 and 3.[0123] for NEXTSTEP architectures
  97.     OpenBSD 1.2 and 2.0 for Intel-based systems
  98.     OSF/1 2.0, 3.0, 3.2, and 4.0-Beta for the DEC Alpha
  99.     Reliant UNIX 5.43 for Pyramid systems
  100.     RISC/os 4.52 for MIPS R2000-based systems
  101.     SCO OpenServer 1.1, 3.0, and 5.0.[024] for Intel-based systems
  102.     SCO UnixWare 2.1 and 2.1.1 for Intel-based systems
  103.     Sequent PTX 2.1.[1569], 4.0.[23], 4.1.[024], 4.2[.1],
  104.         and 4.3 for Sequent systems
  105.     Solaris 2.[123456], 2.5.1, and 2.6-Beta for Sun4 and i86pc systems
  106.     SunOS 4.1.[1234] for Sun 3 and 4 systems
  107.     Ultrix 4.2, 4.3, 4.4, and 4.5 for DEC RISC and VAX
  108.     
  109.     Version 3 and its predecessor, version 2, may be found at:
  110.     ftp://vic.cc.purdue.edu/pub/tools/unix/lsof/OLD
  111.  
  112.     -- Adapted from the 00DIST file in the 4.01 distribution
  113.  
  114. Prerequisites:
  115.  
  116.     C Compiler, gunzip or uncompress utilities; if using gcc, you
  117.     need properly "fixed" gcc-private header files. 
  118.