aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/procps.xml
diff options
context:
space:
mode:
authorManuel Canales Esparcia <manuel@linuxfromscratch.org>2004-05-17 21:55:01 +0000
committerManuel Canales Esparcia <manuel@linuxfromscratch.org>2004-05-17 21:55:01 +0000
commitc6cb3aa2f176d65a5ebe77e7da82e20946188a98 (patch)
tree3167e42f874b5784307f02acc61a0570f31ccb38 /chapter06/procps.xml
parent01b2724c70a6addd4e2190649c14a79be3a85090 (diff)
HEAD: Retagged the Contents of ... sections.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3621 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/procps.xml')
-rw-r--r--chapter06/procps.xml151
1 files changed, 110 insertions, 41 deletions
diff --git a/chapter06/procps.xml b/chapter06/procps.xml
index be44ace51..9444b9eef 100644
--- a/chapter06/procps.xml
+++ b/chapter06/procps.xml
@@ -43,83 +43,152 @@ Make, Ncurses</seg></seglistitem>
</sect2>
-<sect2 id="contents-procps"><title>Contents of Procps</title>
-
-<para><emphasis>Installed programs</emphasis>: free, kill, pgrep, pkill,
-pmap, ps, skill, snice, sysctl, tload, top, uptime, vmstat, w and watch</para>
-
-<para><emphasis>Installed library</emphasis>: libproc.so</para>
-
-</sect2>
+<sect2 id="contents-procps" role="content"><title>Contents of Procps</title>
+<segmentedlist>
+<segtitle>Installed programs</segtitle>
+<segtitle>Installed library</segtitle>
+<seglistitem><seg>free, kill, pgrep, pkill,
+pmap, ps, skill, snice, sysctl, tload, top, uptime, vmstat, w and watch</seg>
+<seg>libproc.so</seg></seglistitem>
+</segmentedlist>
-<sect2><title>Short descriptions</title>
+<variablelist><title>Short descriptions</title>
+<varlistentry>
+<term id="free"><command>free</command></term>
+<listitem>
<indexterm zone="ch-system-procps free"><primary sortas="b-free">free</primary></indexterm>
-<para id="free"><command>free</command> reports the amount of free and used memory
+<para>reports the amount of free and used memory
in the system, both physical and swap memory.</para>
+</listitem>
+</varlistentry>
+<varlistentry>
+<term id="kill"><command>kill</command></term>
+<listitem>
<indexterm zone="ch-system-procps kill"><primary sortas="b-kill">kill</primary></indexterm>
-<para id="kill"><command>kill</command> is used to send signals to processes.</para>
+<para>is used to send signals to processes.</para>
+</listitem>
+</varlistentry>
+<varlistentry>
+<term id="pgrep"><command>pgrep</command></term>
+<listitem>
<indexterm zone="ch-system-procps pgrep"><primary sortas="b-pgrep">pgrep</primary></indexterm>
-<para id="pgrep"><command>pgrep</command> looks up processes based on their name
-and other attributes.</para>
+<para>looks up processes based on their name and other attributes.</para>
+</listitem>
+</varlistentry>
+<varlistentry>
+<term id="pkill"><command>pkill</command></term>
+<listitem>
<indexterm zone="ch-system-procps pkill"><primary sortas="b-pkill">pkill</primary></indexterm>
-<para id="pkill"><command>pkill</command> signals processes based on their name
-and other attributes.</para>
+<para>signals processes based on their name and other attributes.</para>
+</listitem>
+</varlistentry>
+<varlistentry>
+<term id="pmap"><command>pmap</command></term>
+<listitem>
<indexterm zone="ch-system-procps pmap"><primary sortas="b-pmap">pmap</primary></indexterm>
-<para id="pmap"><command>pmap</command> reports the memory map of the given
-process.</para>
+<para>reports the memory map of the given process.</para>
+</listitem>
+</varlistentry>
+<varlistentry>
+<term id="ps"><command>ps</command></term>
+<listitem>
<indexterm zone="ch-system-procps ps"><primary sortas="b-ps">ps</primary></indexterm>
-<para id="ps"><command>ps</command> gives a snapshot of the current processes.</para>
+<para>gives a snapshot of the current processes.</para>
+</listitem>
+</varlistentry>
+<varlistentry>
+<term id="skill"><command>skill</command></term>
+<listitem>
<indexterm zone="ch-system-procps skill"><primary sortas="b-skill">skill</primary></indexterm>
-<para id="skill"><command>skill</command> sends signals to processes matching the
-given criteria.</para>
+<para>sends signals to processes matching the given criteria.</para>
+</listitem>
+</varlistentry>
+<varlistentry>
+<term id="snice"><command>snice</command></term>
+<listitem>
<indexterm zone="ch-system-procps snice"><primary sortas="b-snice">snice</primary></indexterm>
-<para id="snice"><command>snice</command> changes the scheduling priority of processes
-matching the given criteria.</para>
+<para>changes the scheduling priority of processes matching the given criteria.</para>
+</listitem>
+</varlistentry>
+<varlistentry>
+<term id="sysctl"><command>sysctl</command></term>
+<listitem>
<indexterm zone="ch-system-procps sysctl"><primary sortas="b-sysctl">sysctl</primary></indexterm>
-<para id="sysctl"><command>sysctl</command> modifies kernel parameters at run time.</para>
+<para>modifies kernel parameters at run time.</para>
+</listitem>
+</varlistentry>
+<varlistentry>
+<term id="tload"><command>tload</command></term>
+<listitem>
<indexterm zone="ch-system-procps tload"><primary sortas="b-tload">tload</primary></indexterm>
-<para id="tload"><command>tload</command> prints a graph of the current system load
-average.</para>
+<para>prints a graph of the current system load average.</para>
+</listitem>
+</varlistentry>
+<varlistentry>
+<term id="top"><command>top</command></term>
+<listitem>
<indexterm zone="ch-system-procps top"><primary sortas="b-top">top</primary></indexterm>
-<para id="top"><command>top</command> displays the top CPU processes. It provides
+<para>displays the top CPU processes. It provides
an ongoing look at processor activity in real time.</para>
+</listitem>
+</varlistentry>
+<varlistentry>
+<term id="uptime"><command>uptime</command></term>
+<listitem>
<indexterm zone="ch-system-procps uptime"><primary sortas="b-uptime">uptime</primary></indexterm>
-<para id="uptime"><command>uptime</command> reports how long the system has been
+<para>reports how long the system has been
running, how many users are logged on, and the system load averages.</para>
+</listitem>
+</varlistentry>
+<varlistentry>
+<term id="vmstat"><command>vmstat</command></term>
+<listitem>
<indexterm zone="ch-system-procps vmstat"><primary sortas="b-vmstat">vmstat</primary></indexterm>
-<para id="vmstat"><command>vmstat</command> reports virtual memory statistics, giving
-information about processes, memory, paging, block IO, traps, and CPU
-activity.</para>
-
+<para>reports virtual memory statistics, giving information about processes,
+memory, paging, block IO, traps, and CPU activity.</para>
+</listitem>
+</varlistentry>
+
+<varlistentry>
+<term id="w"><command>w</command></term>
+<listitem>
<indexterm zone="ch-system-procps w"><primary sortas="b-w">w</primary></indexterm>
-<para id="w"><command>w</command> shows which users are currently logged on,
-where and since when.</para>
+<para>shows which users are currently logged on, where and since when.</para>
+</listitem>
+</varlistentry>
+<varlistentry>
+<term id="watch"><command>watch</command></term>
+<listitem>
<indexterm zone="ch-system-procps watch"><primary sortas="b-watch">watch</primary></indexterm>
-<para id="watch"><command>watch</command> runs a given command repeatedly,
-displaying the first screen-full of its output. This allows you to watch the
-output change over time.</para>
-
+<para>runs a given command repeatedly, displaying the first screen-full of its
+output. This allows you to watch the output change over time.</para>
+</listitem>
+</varlistentry>
+
+<varlistentry>
+<term id="libproc"><command>libproc</command></term>
+<listitem>
<indexterm zone="ch-system-procps libproc"><primary sortas="c-libproc">libproc</primary></indexterm>
-<para id="libproc"><command>libproc</command> contains the functions used by most
-programs in this package.</para>
+<para>contains the functions used by most programs in this package.</para>
+</listitem>
+</varlistentry>
+</variablelist>
</sect2>
-
-
</sect1>