source: general/genutils/lsof.xml@ 3bdfdc61

7.6-blfs 7.6-systemd kde5-14269 kde5-14686 systemd-13485
Last change on this file since 3bdfdc61 was 3bdfdc61, checked in by Krejzi <krejzi@…>, 10 years ago

Finish checking general and system utilities, finishing general section entirely.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/systemd@14074 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 4.0 KB
Line 
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 &lfs76_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 <bridgehead renderas="sect3">lsof Dependencies</bridgehead>
60
61 <para condition="html" role="usernotes">User Notes:
62 <ulink url="&blfs-wiki;/lsof"/></para>
63
64 </sect2>
65
66 <sect2 role="installation">
67 <title>Installation of lsof</title>
68
69 <para>The <application>lsof</application> tarball includes several files,
70 between them, another tarball with the source code, which needs, in turn,
71 to be unpacked. Install <application>lsof</application> by running the
72 following commands:</para>
73
74<screen><userinput>tar -xf lsof_&lsof-version;_src.tar &amp;&amp;
75cd lsof_&lsof-version;_src &amp;&amp;
76./Configure -n linux &amp;&amp;
77make</userinput></screen>
78
79 <para>This package does not come with a working test suite.</para>
80
81 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
82
83<screen role="root"><userinput>install -v -m755 -o root -g root lsof /usr/bin &amp;&amp;
84install -v lsof.8 /usr/share/man/man8</userinput></screen>
85
86 </sect2>
87
88 <sect2 role="commands">
89 <title>Command Explanations</title>
90
91 <para>
92 <command>./Configure -n linux</command>: Avoid AFS, customization, and
93 inventory checks, and use target-dialect Linux.
94 </para>
95
96 <para>
97 <command>make CFGL="-L./lib -ltirpc"</command>: Instruct the libtirpc
98 libraries location to <command>make</command> command.
99 </para>
100
101 </sect2>
102
103 <sect2 role="content">
104 <title>Contents</title>
105
106 <segmentedlist>
107 <segtitle>Installed Program</segtitle>
108 <segtitle>Installed Libraries</segtitle>
109 <segtitle>Installed Directories</segtitle>
110
111 <seglistitem>
112 <seg>lsof</seg>
113 <seg>None</seg>
114 <seg>None</seg>
115 </seglistitem>
116 </segmentedlist>
117
118 <variablelist>
119 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
120 <?dbfo list-presentation="list"?>
121 <?dbhtml list-presentation="table"?>
122
123 <varlistentry id="lsof-app">
124 <term><command>lsof</command></term>
125 <listitem>
126 <para>lists open files for running processes.</para>
127 <indexterm zone="lsof lsof-app">
128 <primary sortas="b-lsof">lsof</primary>
129 </indexterm>
130 </listitem>
131 </varlistentry>
132
133 </variablelist>
134
135 </sect2>
136
137</sect1>
Note: See TracBrowser for help on using the repository browser.