source: general/genutils/lsof.xml@ 427b46a

11.0 11.1 11.2 11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 427b46a was 66d551c, checked in by Bruce Dubbs <bdubbs@…>, 3 years ago

Tag a lot of utilities and libraries

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@24245 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 4.6 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 "https://www.mirrorservice.org/sites/lsof.itap.purdue.edu/pub/tools/unix/lsof/lsof_&lsof-version;.tar.bz2">
8<!ENTITY lsof-download-ftp " "> -->
9
10<!-- URL is for a mirror. Change back to below if/when main site comes back. -->
11
12<!ENTITY lsof-download-http " ">
13<!ENTITY lsof-download-ftp "https://www.mirrorservice.org/sites/lsof.itap.purdue.edu/pub/tools/unix/lsof/lsof_&lsof-version;.tar.gz">
14<!ENTITY lsof-md5sum "10e1353aa4bf2fd5bbed65db9ef6fd47">
15<!ENTITY lsof-size "1.1 MB">
16<!ENTITY lsof-buildsize "9.6 MB">
17<!ENTITY lsof-time "less than 0.1 SBU">
18]>
19
20<sect1 id="lsof" xreflabel="lsof-&lsof-version;">
21 <?dbhtml filename="lsof.html"?>
22
23 <sect1info>
24 <othername>$LastChangedBy$</othername>
25 <date>$Date$</date>
26 </sect1info>
27
28 <title>lsof-&lsof-version;</title>
29
30 <indexterm zone="lsof">
31 <primary sortas="a-lsof">lsof</primary>
32 </indexterm>
33
34 <sect2 role="package">
35 <title>Introduction to lsof</title>
36
37 <para>
38 The <application>lsof</application> package is useful to LiSt Open
39 Files for a given running application or process.
40 </para>
41
42 &lfs101_checked;
43
44 <bridgehead renderas="sect3">Package Information</bridgehead>
45 <itemizedlist spacing="compact">
46 <listitem>
47 <para>
48 Download (HTTP): <ulink url="&lsof-download-http;"/>
49 </para>
50 </listitem>
51 <listitem>
52 <para>
53 Download (FTP): <ulink url="&lsof-download-ftp;"/>
54 </para>
55 </listitem>
56 <listitem>
57 <para>
58 Download MD5 sum: &lsof-md5sum;
59 </para>
60 </listitem>
61 <listitem>
62 <para>
63 Download size: &lsof-size;
64 </para>
65 </listitem>
66 <listitem>
67 <para>
68 Estimated disk space required: &lsof-buildsize;
69 </para>
70 </listitem>
71 <listitem>
72 <para>
73 Estimated build time: &lsof-time;
74 </para>
75 </listitem>
76 </itemizedlist>
77
78 <bridgehead renderas="sect3">lsof Dependencies</bridgehead>
79
80 <bridgehead renderas="sect4">Required</bridgehead>
81 <para role="required">
82 <xref linkend="libtirpc"/>
83 </para>
84
85 <para condition="html" role="usernotes">User Notes:
86 <ulink url="&blfs-wiki;/lsof"/></para>
87
88 </sect2>
89
90 <sect2 role="installation">
91 <title>Installation of lsof</title>
92
93 <para>
94 The contents of the <application>lsof</application> tarball
95 include another tarball with the source code, which needs, in turn,
96 to be unpacked. Install <application>lsof</application> by running the
97 following commands:
98 </para>
99
100<screen><userinput>tar -xf lsof_&lsof-version;_src.tar &amp;&amp;
101cd lsof_&lsof-version;_src &amp;&amp;
102./Configure -n linux &amp;&amp;
103make CFGL="-L./lib -ltirpc"</userinput></screen>
104
105 <para>
106 This package does not come with a working test suite.
107 </para>
108
109 <para>
110 Now, as the <systemitem class="username">root</systemitem> user:
111 </para>
112
113<screen role="root"><userinput>install -v -m0755 -o root -g root lsof /usr/bin &amp;&amp;
114install -v lsof.8 /usr/share/man/man8</userinput></screen>
115
116 </sect2>
117
118 <sect2 role="commands">
119 <title>Command Explanations</title>
120
121 <para>
122 <command>./Configure -n linux</command>: Avoid AFS, customization, and
123 inventory checks, and use the linux dialect.
124 </para>
125
126 <para>
127 <command>make CFGL="-L./lib -ltirpc"</command>: Add the libtirpc
128 libraries location to the <command>make</command> command.
129 </para>
130
131 </sect2>
132
133 <sect2 role="content">
134 <title>Contents</title>
135
136 <segmentedlist>
137 <segtitle>Installed Program</segtitle>
138 <segtitle>Installed Libraries</segtitle>
139 <segtitle>Installed Directories</segtitle>
140
141 <seglistitem>
142 <seg>lsof</seg>
143 <seg>None</seg>
144 <seg>None</seg>
145 </seglistitem>
146 </segmentedlist>
147
148 <variablelist>
149 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
150 <?dbfo list-presentation="list"?>
151 <?dbhtml list-presentation="table"?>
152
153 <varlistentry id="lsof-app">
154 <term><command>lsof</command></term>
155 <listitem>
156 <para>
157 lists open files for running processes
158 </para>
159 <indexterm zone="lsof lsof-app">
160 <primary sortas="b-lsof">lsof</primary>
161 </indexterm>
162 </listitem>
163 </varlistentry>
164
165 </variablelist>
166
167 </sect2>
168
169</sect1>
Note: See TracBrowser for help on using the repository browser.