From 3f0c882398e626cd92503b1bd964a32e89f818dc Mon Sep 17 00:00:00 2001 From: Manuel Canales Esparcia Date: Tue, 21 Dec 2004 19:38:32 +0000 Subject: Removed the text in chapter 06. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@4446 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/psmisc.xml | 74 +++------------------------------------------------- 1 file changed, 3 insertions(+), 71 deletions(-) (limited to 'chapter06/psmisc.xml') diff --git a/chapter06/psmisc.xml b/chapter06/psmisc.xml index 419633f0f..bce27356d 100644 --- a/chapter06/psmisc.xml +++ b/chapter06/psmisc.xml @@ -10,8 +10,6 @@ Psmisc -<para>The Psmisc package contains programs for displaying information on -processes.</para> <segmentedlist> <segtitle>&buildtime;</segtitle> @@ -19,11 +17,6 @@ processes.</para> <seglistitem><seg>0.1 SBU</seg><seg>2.2 MB</seg></seglistitem> </segmentedlist> -<segmentedlist> -<segtitle>Psmisc installation depends on</segtitle> -<seglistitem><seg>Bash, Binutils, Coreutils, Diffutils, -GCC, Gettext, Glibc, Grep, Make, Ncurses, Sed</seg></seglistitem> -</segmentedlist> </sect2> <sect2 role="installation"> @@ -33,19 +26,6 @@ GCC, Gettext, Glibc, Grep, Make, Ncurses, Sed</seg></seglistitem> <screen><userinput>./configure --prefix=/usr --exec-prefix=""</userinput></screen> -<para>The meaning of the configure option:</para> - -<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>. As the Psmisc programs are often used in -bootscripts, they should be available also when the <filename class="directory">/usr</filename> -file system isn't mounted.</para></listitem> -</varlistentry> -</variablelist> - <para>Compile the package:</para> <screen><userinput>make</userinput></screen> @@ -54,21 +34,12 @@ file system isn't mounted.</para></listitem> <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>. We 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. We -therefore make it a symbolic link to <command>pstree</command>:</para> +<para>Move a program:</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 isn't installed. -Generally, this isn't a problem because we later install the Sysvinit package, -which provides a better <command>pidof</command> program. But if you're not -going to use Sysvinit, you should complete the installation of Psmisc by -creating the following symlink:</para> +<para>If you're not going to use Sysvinit, you should create the following symlink:</para> <screen><userinput>ln -s killall /bin/pidof</userinput></screen> @@ -77,46 +48,7 @@ creating the following symlink:</para> <sect2 id="contents-psmisc" role="content"><title>Contents of Psmisc - -Installed programs -fuser, killall, pstree and pstree.x11 (link to pstree) - - -Short descriptions - - -fuser - -fuser -reports the PIDs of processes that use the given files or file systems. - - - - -killall - -killall -kills processes by name. It sends a signal -to all processes running any of the given commands. - - - - -pstree - -pstree -displays running processes as a tree. - - - - -pstree.x11 - -pstree.x11 -same as pstree except that it waits for confirmation before exiting. - - - +See testing -- cgit v1.2.3-54-g00ecf