Author: manuel Date: 2005-05-27 16:42:26 -0600 (Fri, 27 May 2005) New Revision: 5469
Modified: branches/cross-lfs/BOOK/final-system/common/psmisc.xml Log: Indented psmisc.xml Modified: branches/cross-lfs/BOOK/final-system/common/psmisc.xml =================================================================== --- branches/cross-lfs/BOOK/final-system/common/psmisc.xml 2005-05-27 22:32:37 UTC (rev 5468) +++ branches/cross-lfs/BOOK/final-system/common/psmisc.xml 2005-05-27 22:42:26 UTC (rev 5469) @@ -7,126 +7,154 @@ ]> <sect1 id="ch-system-psmisc" role="wrap"> -<title>Psmisc-&psmisc-version;</title> -<?dbhtml filename="psmisc.html"?> + <?dbhtml filename="psmisc.html"?> -<indexterm zone="ch-system-psmisc"><primary sortas="a-Psmisc">Psmisc</primary></indexterm> + <title>Psmisc-&psmisc-version;</title> -<sect2 role="package"><title/> -<para>The Psmisc package contains programs for displaying information on -processes.</para> + <indexterm zone="ch-system-psmisc"> + <primary sortas="a-Psmisc">Psmisc</primary> + </indexterm> -<segmentedlist> -<segtitle>&buildtime;</segtitle> -<segtitle>&diskspace;</segtitle> -<seglistitem><seg>0.1 SBU</seg><seg>2.2 MB</seg></seglistitem> -</segmentedlist> + <sect2 role="package"> + <title/> -<segmentedlist> -<segtitle>&dependencies;</segtitle> -<seglistitem><seg>Bash, Binutils, Coreutils, Diffutils, -GCC, Gettext, Glibc, Grep, Make, Ncurses, and Sed</seg></seglistitem> -</segmentedlist> -</sect2> + <para>The Psmisc package contains programs for displaying information on + processes.</para> -<sect2 role="installation"> -<title>Installation of Psmisc</title> + <segmentedlist> + <segtitle>&buildtime;</segtitle> + <segtitle>&diskspace;</segtitle> -<para>Prepare Psmisc for compilation:</para> + <seglistitem> + <seg>Not checked yet</seg> + <seg>Not checked yet</seg> + </seglistitem> + </segmentedlist> + <segmentedlist> + <segtitle>&dependencies;</segtitle> + + <seglistitem> + <seg>Bash, Binutils, Coreutils, Diffutils, GCC, Gettext, Glibc, + Grep, Make, Ncurses, and Sed</seg> + </seglistitem> + </segmentedlist> + + </sect2> + + <sect2 role="installation"> + <title>Installation of Psmisc</title> + + <para>Prepare Psmisc for compilation:</para> + <screen><userinput>./configure --prefix=/usr --exec-prefix=""</userinput></screen> -<para>The meaning of the configure option:</para> + <variablelist> + <title>The meaning of the configure option:</title> -<variablelist> -<varlistentry> -<term><parameter>--exec-prefix=""</parameter></term> -<listitem><para>This causes the binaries to be installed in <filename -class="directory">/bin</filename> instead of <filename -class="directory">/usr/bin</filename>. Because the Psmisc programs are -often used in bootscripts, they should be available when the <filename -class="directory">/usr</filename> file system is not -mounted.</para></listitem> -</varlistentry> -</variablelist> + <varlistentry> + <term><parameter>--exec-prefix=""</parameter></term> + <listitem> + <para>This causes the binaries to be installed in <filename + class="directory">/bin</filename> instead of <filename + class="directory">/usr/bin</filename>. Because the Psmisc + programs are often used in bootscripts, they should be available + when the <filename class="directory">/usr</filename> file system + is not mounted.</para> + </listitem> + </varlistentry> + </variablelist> -<para>Compile the package:</para> + <para>Compile the package:</para> <screen><userinput>make</userinput></screen> -<para>Install the package:</para> + <para>Install the package:</para> <screen><userinput>make install</userinput></screen> -<para>There is no reason for the <command>pstree</command> and -<command>pstree.x11</command> programs to reside in <filename -class="directory">/bin</filename>. Therefore, move them to <filename -class="directory">/usr/bin</filename>. Also, there is no need for -<command>pstree.x11</command> to exist as a separate program. Make it -a symbolic link to <command>pstree</command> instead:</para> + <para>There is no reason for the <command>pstree</command> and + <command>pstree.x11</command> programs to reside in <filename + class="directory">/bin</filename>. Therefore, move them to <filename + class="directory">/usr/bin</filename>. Also, there is no need for + <command>pstree.x11</command> to exist as a separate program. Make it + a symbolic link to <command>pstree</command> instead:</para> <screen><userinput>mv /bin/pstree* /usr/bin ln -sf pstree /usr/bin/pstree.x11</userinput></screen> -<para>By default, Psmisc's <command>pidof</command> program is not -installed. This usually is not a problem because it is installed later -in the Sysvinit package, which provides a better -<command>pidof</command> program. If Sysvinit will not be used for a -particular system, complete the installation of Psmisc by creating the -following symlink:</para> + <para>By default, Psmisc's <command>pidof</command> program is not installed. + This usually is not a problem because it is installed later in the Sysvinit + package, which provides a better <command>pidof</command> program. If + Sysvinit will not be used for a particular system, complete the installation + of Psmisc by creating the following symlink:</para> <screen><userinput>ln -s killall /bin/pidof</userinput></screen> -</sect2> + </sect2> + <sect2 id="contents-psmisc" role="content"> + <title>Contents of Psmisc</title> -<sect2 id="contents-psmisc" role="content"><title>Contents of Psmisc</title> + <segmentedlist> + <segtitle>Installed programs</segtitle> -<segmentedlist> -<segtitle>Installed programs</segtitle> -<seglistitem><seg>fuser, killall, pstree, and pstree.x11 (link to pstree)</seg></seglistitem> -</segmentedlist> + <seglistitem> + <seg>fuser, killall, pstree, and pstree.x11 (link to pstree)</seg> + </seglistitem> + </segmentedlist> -<variablelist><bridgehead renderas="sect3">Short Descriptions</bridgehead> -<?dbfo list-presentation="list"?> -<?dbhtml list-presentation="table"?> + <variablelist> + <bridgehead renderas="sect3">Short Descriptions</bridgehead> + <?dbfo list-presentation="list"?> + <?dbhtml list-presentation="table"?> -<varlistentry id="fuser"> -<term><command>fuser</command></term> -<listitem> -<para>Reports the Process IDs (PIDs) of processes that use the given files or file systems</para> -<indexterm zone="ch-system-psmisc fuser"><primary sortas="b-fuser">fuser</primary></indexterm> -</listitem> -</varlistentry> + <varlistentry id="fuser"> + <term><command>fuser</command></term> + <listitem> + <para>Reports the Process IDs (PIDs) of processes that use the given + files or file systems</para> + <indexterm zone="ch-system-psmisc fuser"> + <primary sortas="b-fuser">fuser</primary> + </indexterm> + </listitem> + </varlistentry> -<varlistentry id="killall"> -<term><command>killall</command></term> -<listitem> -<para>Kills processes by name; it sends a signal to all processes -running any of the given commands</para> -<indexterm zone="ch-system-psmisc killall"><primary sortas="b-killall">killall</primary></indexterm> -</listitem> -</varlistentry> + <varlistentry id="killall"> + <term><command>killall</command></term> + <listitem> + <para>Kills processes by name; it sends a signal to all processes + running any of the given commands</para> + <indexterm zone="ch-system-psmisc killall"> + <primary sortas="b-killall">killall</primary> + </indexterm> + </listitem> + </varlistentry> -<varlistentry id="pstree"> -<term><command>pstree</command></term> -<listitem> -<para>Displays running processes as a tree</para> -<indexterm zone="ch-system-psmisc pstree"><primary sortas="b-pstree">pstree</primary></indexterm> -</listitem> -</varlistentry> + <varlistentry id="pstree"> + <term><command>pstree</command></term> + <listitem> + <para>Displays running processes as a tree</para> + <indexterm zone="ch-system-psmisc pstree"> + <primary sortas="b-pstree">pstree</primary> + </indexterm> + </listitem> + </varlistentry> -<varlistentry id="pstree.x11"> -<term><command>pstree.x11</command></term> -<listitem> -<para>Same as <command>pstree</command>, except that it waits for confirmation before exiting</para> -<indexterm zone="ch-system-psmisc pstree.x11"><primary sortas="b-pstree.x11">pstree.x11</primary></indexterm> -</listitem> -</varlistentry> -</variablelist> + <varlistentry id="pstree.x11"> + <term><command>pstree.x11</command></term> + <listitem> + <para>Same as <command>pstree</command>, except that it waits for + confirmation before exiting</para> + <indexterm zone="ch-system-psmisc pstree.x11"> + <primary sortas="b-pstree.x11">pstree.x11</primary> + </indexterm> + </listitem> + </varlistentry> -</sect2> + </variablelist> + </sect2> + </sect1> - -- http://linuxfromscratch.org/mailman/listinfo/lfs-book FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
