[740597c] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
| 7 | <!ENTITY lsof-download-http " ">
|
---|
| 8 | <!ENTITY lsof-download-ftp "ftp://sunsite.ualberta.ca/pub/Mirror/lsof/lsof_&lsof-version;.tar.bz2">
|
---|
| 9 | <!ENTITY lsof-md5sum "80e2a76d0e05826db910ec88e631296c">
|
---|
| 10 | <!ENTITY lsof-size "756 KB">
|
---|
| 11 | <!ENTITY lsof-buildsize "9.6 MB">
|
---|
| 12 | <!ENTITY lsof-time "less than 0.1 SBU">
|
---|
| 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="lsof" xreflabel="lsof-&lsof-version;">
|
---|
| 16 | <?dbhtml filename="lsof.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
| 23 | <title>lsof-&lsof-version;</title>
|
---|
| 24 |
|
---|
| 25 | <indexterm zone="lsof">
|
---|
| 26 | <primary sortas="a-lsof">lsof</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to lsof</title>
|
---|
| 31 |
|
---|
| 32 | <para>The <application>lsof</application> package is useful to LiSt Open
|
---|
| 33 | Files for a given running application or process.</para>
|
---|
| 34 |
|
---|
| 35 | &lfs74_checked;
|
---|
| 36 |
|
---|
| 37 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 38 | <itemizedlist spacing="compact">
|
---|
| 39 | <listitem>
|
---|
| 40 | <para>Download (HTTP): <ulink url="&lsof-download-http;"/></para>
|
---|
| 41 | </listitem>
|
---|
| 42 | <listitem>
|
---|
| 43 | <para>Download (FTP): <ulink url="&lsof-download-ftp;"/></para>
|
---|
| 44 | </listitem>
|
---|
| 45 | <listitem>
|
---|
| 46 | <para>Download MD5 sum: &lsof-md5sum;</para>
|
---|
| 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
| 49 | <para>Download size: &lsof-size;</para>
|
---|
| 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
| 52 | <para>Estimated disk space required: &lsof-buildsize;</para>
|
---|
| 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
| 55 | <para>Estimated build time: &lsof-time;</para>
|
---|
| 56 | </listitem>
|
---|
| 57 | </itemizedlist>
|
---|
| 58 |
|
---|
| 59 | <para condition="html" role="usernotes">User Notes:
|
---|
| 60 | <ulink url="&blfs-wiki;/lsof"/></para>
|
---|
| 61 |
|
---|
| 62 | </sect2>
|
---|
| 63 |
|
---|
| 64 | <sect2 role="installation">
|
---|
| 65 | <title>Installation of lsof</title>
|
---|
| 66 |
|
---|
| 67 | <para>Install <application>lsof</application> by running the following
|
---|
| 68 | commands:</para>
|
---|
| 69 |
|
---|
| 70 | <screen><userinput>tar xf lsof_&lsof-version;.tar &&
|
---|
| 71 | cd lsof_&lsof-version; &&
|
---|
| 72 | yes n |./Configure linux &&
|
---|
| 73 | make CFGL="-L./lib -ltirpc"</userinput></screen>
|
---|
| 74 |
|
---|
| 75 | <para>This package does not come with a working test suite.</para>
|
---|
| 76 |
|
---|
| 77 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 78 |
|
---|
| 79 | <screen role="root"><userinput>install -v -m0755 -o root -g root lsof /usr/bin &&
|
---|
| 80 | install -v lsof.8 /usr/share/man/man8</userinput></screen>
|
---|
| 81 |
|
---|
| 82 | </sect2>
|
---|
| 83 |
|
---|
| 84 | <sect2 role="content">
|
---|
| 85 | <title>Contents</title>
|
---|
| 86 |
|
---|
| 87 | <segmentedlist>
|
---|
| 88 | <segtitle>Installed Program</segtitle>
|
---|
| 89 | <segtitle>Installed Libraries</segtitle>
|
---|
| 90 | <segtitle>Installed Directories</segtitle>
|
---|
| 91 |
|
---|
| 92 | <seglistitem>
|
---|
| 93 | <seg>lsof</seg>
|
---|
| 94 | <seg>None</seg>
|
---|
| 95 | <seg>None</seg>
|
---|
| 96 | </seglistitem>
|
---|
| 97 | </segmentedlist>
|
---|
| 98 |
|
---|
| 99 | <variablelist>
|
---|
| 100 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 101 | <?dbfo list-presentation="list"?>
|
---|
| 102 | <?dbhtml list-presentation="table"?>
|
---|
| 103 |
|
---|
| 104 | <varlistentry id="lsof-app">
|
---|
| 105 | <term><command>lsof</command></term>
|
---|
| 106 | <listitem>
|
---|
| 107 | <para>lists open files for running processes.</para>
|
---|
| 108 | <indexterm zone="lsof lsof-app">
|
---|
| 109 | <primary sortas="b-lsof">lsof</primary>
|
---|
| 110 | </indexterm>
|
---|
| 111 | </listitem>
|
---|
| 112 | </varlistentry>
|
---|
| 113 |
|
---|
| 114 | </variablelist>
|
---|
| 115 |
|
---|
| 116 | </sect2>
|
---|
| 117 |
|
---|
| 118 | </sect1>
|
---|