Путеводитель по Руководству Linux

  User  |  Syst  |  Libr  |  Device  |  Files  |  Other  |  Admin  |  Head  |



   lsof    ( 8 )

список открытых файлов (list open files)

SYSTEM-WIDE DEVICE CACHE PATH

The local system administrator may choose to have a system-wide
       device cache file when building lsof.  That file will generally
       be constructed by a special system administration procedure when
       the system is booted or when the contents of /dev or /devices)
       changes.  If defined, it is lsof's third device cache file path
       choice.

You can tell that a system-wide device cache file is in effect for your local installation by examining the lsof help option output - i.e., the output from the -h or -? option.

Lsof will never write to the system-wide device cache file path by default. It must be explicitly named with a -D function in a root-owned procedure. Once the file has been written, the procedure must change its permission modes to 0644 (owner-read and owner-write, group-read, and other-read).