source: general/genutils/lsof.xml@ 952c2494

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt perl-modules 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 952c2494 was 952c2494, checked in by Bruce Dubbs <bdubbs@…>, 6 years ago

Update to git-2.16.2.
Update to gdb-8.1.
Tags

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

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