* Upgrade to expect-5.43.0
[linux_from_scratch.git] / chapter06 / psmisc.xml
blob5cdaa6c0f59df56bf5a543926bc16aa16e097812
1 <?xml version="1.0" encoding="ISO-8859-1"?>
2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
3   <!ENTITY % general-entities SYSTEM "../general.ent">
4   %general-entities;
5 ]>
6 <sect1 id="ch-system-psmisc" xreflabel="Psmisc" role="wrap">
7 <title>Psmisc-&psmisc-version;</title>
8 <?dbhtml filename="psmisc.html"?>
10 <indexterm zone="ch-system-psmisc"><primary sortas="a-Psmisc">Psmisc</primary></indexterm>
12 <sect2 role="package"><title/>
14 <segmentedlist>
15 <segtitle>&buildtime;</segtitle>
16 <segtitle>&diskspace;</segtitle>
17 <seglistitem><seg>0.1 SBU</seg><seg>2.2 MB</seg></seglistitem>
18 </segmentedlist>
20 </sect2>
22 <sect2 role="installation">
23 <title>Installation of Psmisc</title>
25 <para>Prepare Psmisc for compilation:</para>
27 <screen><userinput>./configure --prefix=/usr --exec-prefix=""</userinput></screen>
29 <para>Compile the package:</para>
31 <screen><userinput>make</userinput></screen>
33 <para>Now install it:</para>
35 <screen><userinput>make install</userinput></screen>
37 <para>Move a program:</para>
39 <screen><userinput>mv /bin/pstree* /usr/bin
40 ln -sf pstree /usr/bin/pstree.x11</userinput></screen>
42 <para>If you're not going to use Sysvinit, you should create the following symlink:</para>
44 <screen><userinput>ln -s killall /bin/pidof</userinput></screen>
46 </sect2>
49 <sect2 id="contents-psmisc" role="content"><title>Contents of Psmisc</title>
51 <para>See testing</para>
53 </sect2>
55 </sect1>