mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-24 15:12:11 +08:00
45ab6c70c2
Remove "$LastChanged$" everywhere, and also some unused $Date$
169 lines
4.6 KiB
XML
169 lines
4.6 KiB
XML
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
%general-entities;
|
|
|
|
<!-- <!ENTITY lsof-download-http "https://www.mirrorservice.org/sites/lsof.itap.purdue.edu/pub/tools/unix/lsof/lsof_&lsof-version;.tar.bz2">
|
|
<!ENTITY lsof-download-ftp " "> -->
|
|
|
|
<!-- URL is for a mirror. Change back to below if/when main site comes back. -->
|
|
|
|
<!ENTITY lsof-download-http " ">
|
|
<!ENTITY lsof-download-ftp "https://www.mirrorservice.org/sites/lsof.itap.purdue.edu/pub/tools/unix/lsof/lsof_&lsof-version;.tar.gz">
|
|
<!ENTITY lsof-md5sum "10e1353aa4bf2fd5bbed65db9ef6fd47">
|
|
<!ENTITY lsof-size "1.1 MB">
|
|
<!ENTITY lsof-buildsize "9.6 MB">
|
|
<!ENTITY lsof-time "less than 0.1 SBU">
|
|
]>
|
|
|
|
<sect1 id="lsof" xreflabel="lsof-&lsof-version;">
|
|
<?dbhtml filename="lsof.html"?>
|
|
|
|
<sect1info>
|
|
<date>$Date$</date>
|
|
</sect1info>
|
|
|
|
<title>lsof-&lsof-version;</title>
|
|
|
|
<indexterm zone="lsof">
|
|
<primary sortas="a-lsof">lsof</primary>
|
|
</indexterm>
|
|
|
|
<sect2 role="package">
|
|
<title>Introduction to lsof</title>
|
|
|
|
<para>
|
|
The <application>lsof</application> package is useful to LiSt Open
|
|
Files for a given running application or process.
|
|
</para>
|
|
|
|
&lfs101_checked;
|
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
<itemizedlist spacing="compact">
|
|
<listitem>
|
|
<para>
|
|
Download (HTTP): <ulink url="&lsof-download-http;"/>
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Download (FTP): <ulink url="&lsof-download-ftp;"/>
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Download MD5 sum: &lsof-md5sum;
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Download size: &lsof-size;
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Estimated disk space required: &lsof-buildsize;
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Estimated build time: &lsof-time;
|
|
</para>
|
|
</listitem>
|
|
</itemizedlist>
|
|
|
|
<bridgehead renderas="sect3">lsof Dependencies</bridgehead>
|
|
|
|
<bridgehead renderas="sect4">Required</bridgehead>
|
|
<para role="required">
|
|
<xref linkend="libtirpc"/>
|
|
</para>
|
|
|
|
<para condition="html" role="usernotes">User Notes:
|
|
<ulink url="&blfs-wiki;/lsof"/></para>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="installation">
|
|
<title>Installation of lsof</title>
|
|
|
|
<para>
|
|
The contents of the <application>lsof</application> tarball
|
|
include another tarball with the source code, which needs, in turn,
|
|
to be unpacked. Install <application>lsof</application> by running the
|
|
following commands:
|
|
</para>
|
|
|
|
<screen><userinput>tar -xf lsof_&lsof-version;_src.tar &&
|
|
cd lsof_&lsof-version;_src &&
|
|
./Configure -n linux &&
|
|
make CFGL="-L./lib -ltirpc"</userinput></screen>
|
|
|
|
<para>
|
|
This package does not come with a working test suite.
|
|
</para>
|
|
|
|
<para>
|
|
Now, as the <systemitem class="username">root</systemitem> user:
|
|
</para>
|
|
|
|
<screen role="root"><userinput>install -v -m0755 -o root -g root lsof /usr/bin &&
|
|
install -v lsof.8 /usr/share/man/man8</userinput></screen>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="commands">
|
|
<title>Command Explanations</title>
|
|
|
|
<para>
|
|
<command>./Configure -n linux</command>: Avoid AFS, customization, and
|
|
inventory checks, and use the linux dialect.
|
|
</para>
|
|
|
|
<para>
|
|
<command>make CFGL="-L./lib -ltirpc"</command>: Add the libtirpc
|
|
libraries location to the <command>make</command> command.
|
|
</para>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="content">
|
|
<title>Contents</title>
|
|
|
|
<segmentedlist>
|
|
<segtitle>Installed Program</segtitle>
|
|
<segtitle>Installed Libraries</segtitle>
|
|
<segtitle>Installed Directories</segtitle>
|
|
|
|
<seglistitem>
|
|
<seg>lsof</seg>
|
|
<seg>None</seg>
|
|
<seg>None</seg>
|
|
</seglistitem>
|
|
</segmentedlist>
|
|
|
|
<variablelist>
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
<?dbfo list-presentation="list"?>
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
<varlistentry id="lsof-app">
|
|
<term><command>lsof</command></term>
|
|
<listitem>
|
|
<para>
|
|
lists open files for running processes
|
|
</para>
|
|
<indexterm zone="lsof lsof-app">
|
|
<primary sortas="b-lsof">lsof</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
|
|
|
</sect2>
|
|
|
|
</sect1>
|