source: general/genutils/lsof.xml@ 50a6bd6

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 50a6bd6 was 50a6bd6, checked in by Douglas R. Reno <renodr@…>, 3 years ago

A few tags and a minor tweak to Java to remove the version string,
preventing confusion.

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