source: general/genutils/lsof.xml@ 059a1a5c

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.7 7.8 7.9 8.0 8.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 nosym 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 059a1a5c was 059a1a5c, checked in by Bruce Dubbs <bdubbs@…>, 9 years ago

Tags and minor updates

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

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