Lsof: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 4: Line 4:


=Overview=
=Overview=
<tt>lsof</tt> lists information about files opened by processes. <tt>lsof</tt> provides information about:
* regular files
* directories
* block special files
* character special files
* executing text references
* libraries
* streams
* network files (Internet socket, NFS file or UNIX domain socket)
<pre>
lsof -p <pid>
</pre>

Revision as of 14:11, 3 May 2017

Internal

Overview

lsof lists information about files opened by processes. lsof provides information about:

  • regular files
  • directories
  • block special files
  • character special files
  • executing text references
  • libraries
  • streams
  • network files (Internet socket, NFS file or UNIX domain socket)
lsof -p <pid>