home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume25 / lsof / 00DIST next >
Encoding:
Text File  |  1991-12-01  |  1.5 KB  |  32 lines

  1.     Notes for the comp.sources.unix distribution of lsof 1.0
  2.  
  3. Lsof (for LiSt Open Files) lists files opened by processes on selected
  4. Unix systems.  It is my answer to those who regularly ask me when I am
  5. going to make fstat (comp.sources.unix volume 18, number 107) or ofiles
  6. (volume 18, number 57) available on SunOS 4.1.1 or the like.
  7.  
  8. Lsof is a complete redesign of the fstat/ofiles series, based on the SunOS
  9. vnode model.  Thus, it has been tested on AIX 3.1.[357], HP-UX [78].x,
  10. NeXTStep 2.[01], Sequent Dynix 3.0.12 and 3.1.2, and Sunos 4.1 and 4.1.1.
  11. Using available kernel access methods, such as nlist() and kvm_read(),
  12. lsof reads process table entries, user areas and file pointers to reach
  13. the underlying structures that describe files opened by processes.
  14.  
  15. Lsof interprets most vnode extensions -- cdrnodes, fifonodes, gnodes,
  16. inodes, rnodes, snodes and tmpnodes.  It understands NFS connections.  It
  17. recognizes FIFOs, multiplexed files, Unix and Internet sockets.
  18.  
  19. Lsof accepts options to limit and filter its output.  That output describes
  20. the process that has opened the file, the command the process is executing,
  21. the owner of the process, the file descriptor of the file, and the file's
  22. device, inode number, size and file system name.  Additional special output
  23. is provided for special files -- e. g., the local and destination Internet
  24. addresses of Internet socket files.
  25.  
  26. Lsof may be used and distributed freely, subject to the limited conditions
  27. described in its source file.
  28.  
  29. Victor A. Abell
  30. Purdue University Computing Center
  31. November 22, 1991
  32.