source: chapter06/procps.xml@ 9c9d585

Last change on this file since 9c9d585 was 1fe35e1, checked in by Matthew Burgess <matthew@…>, 20 years ago
  • (chapter06/*.xml) RELAX NG validation fixes

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/LFS-RNG/BOOK@4356 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • Property mode set to 100644
File size: 6.1 KB
RevLine 
[673b0d8]1<?xml version="1.0" encoding="ISO-8859-1"?>
[1fe35e1]2<!DOCTYPE section [
[673b0d8]3 <!ENTITY % general-entities SYSTEM "../general.ent">
4 %general-entities;
5]>
[1fe35e1]6<section xmlns="http://docbook.org/docbook-ng"
7 xml:id="ch-system-procps" xreflabel="Procps" role="wrap">
8<info><title>Procps-&procps-version;</title></info>
[673b0d8]9<?dbhtml filename="procps.html"?>
10
11<indexterm zone="ch-system-procps"><primary sortas="a-Procps">Procps</primary></indexterm>
[6370fa6]12
[1fe35e1]13<section role="package"><info><title/></info>
[5888299]14<para>The Procps package contains programs for monitoring processes.</para>
15
[a001133]16<segmentedlist>
17<segtitle>&buildtime;</segtitle>
18<segtitle>&diskspace;</segtitle>
19<seglistitem><seg>0.1 SBU</seg><seg>6.2 MB</seg></seglistitem>
20</segmentedlist>
[673b0d8]21
[a001133]22<segmentedlist>
23<segtitle>Procps installation depends on</segtitle>
24<seglistitem><seg>Bash, Binutils, Coreutils, GCC, Glibc,
25Make, Ncurses</seg></seglistitem>
26</segmentedlist>
[1fe35e1]27</section>
[3554fa3a]28
[1fe35e1]29<section role="installation">
30<info><title>Installation of Procps</title></info>
[73aedd1d]31
[28acf75]32<para>Compile Procps:</para>
[73aedd1d]33
34<screen><userinput>make</userinput></screen>
35
36<para>Install it:</para>
37
38<screen><userinput>make install</userinput></screen>
39
[1fe35e1]40</section>
[6370fa6]41
[5888299]42
[1fe35e1]43<section xml:id="contents-procps" role="content">
44<info><title>Contents of Procps</title></info>
[673b0d8]45
[c6cb3aa]46<segmentedlist>
47<segtitle>Installed programs</segtitle>
48<segtitle>Installed library</segtitle>
49<seglistitem><seg>free, kill, pgrep, pkill,
50pmap, ps, skill, snice, sysctl, tload, top, uptime, vmstat, w and watch</seg>
51<seg>libproc.so</seg></seglistitem>
52</segmentedlist>
[673b0d8]53
[c6cb3aa]54<variablelist><title>Short descriptions</title>
[673b0d8]55
[1fe35e1]56<varlistentry xml:id="free">
[b8a819f]57<term><command>free</command></term>
[c6cb3aa]58<listitem>
[673b0d8]59<indexterm zone="ch-system-procps free"><primary sortas="b-free">free</primary></indexterm>
[c6cb3aa]60<para>reports the amount of free and used memory
[673b0d8]61in the system, both physical and swap memory.</para>
[c6cb3aa]62</listitem>
63</varlistentry>
[673b0d8]64
[1fe35e1]65<varlistentry xml:id="kill">
[b8a819f]66<term><command>kill</command></term>
[c6cb3aa]67<listitem>
[673b0d8]68<indexterm zone="ch-system-procps kill"><primary sortas="b-kill">kill</primary></indexterm>
[c6cb3aa]69<para>is used to send signals to processes.</para>
70</listitem>
71</varlistentry>
[673b0d8]72
[1fe35e1]73<varlistentry xml:id="pgrep">
[b8a819f]74<term><command>pgrep</command></term>
[c6cb3aa]75<listitem>
[673b0d8]76<indexterm zone="ch-system-procps pgrep"><primary sortas="b-pgrep">pgrep</primary></indexterm>
[c6cb3aa]77<para>looks up processes based on their name and other attributes.</para>
78</listitem>
79</varlistentry>
[673b0d8]80
[1fe35e1]81<varlistentry xml:id="pkill">
[b8a819f]82<term><command>pkill</command></term>
[c6cb3aa]83<listitem>
[673b0d8]84<indexterm zone="ch-system-procps pkill"><primary sortas="b-pkill">pkill</primary></indexterm>
[c6cb3aa]85<para>signals processes based on their name and other attributes.</para>
86</listitem>
87</varlistentry>
[673b0d8]88
[1fe35e1]89<varlistentry xml:id="pmap">
[b8a819f]90<term><command>pmap</command></term>
[c6cb3aa]91<listitem>
[673b0d8]92<indexterm zone="ch-system-procps pmap"><primary sortas="b-pmap">pmap</primary></indexterm>
[c6cb3aa]93<para>reports the memory map of the given process.</para>
94</listitem>
95</varlistentry>
[673b0d8]96
[1fe35e1]97<varlistentry xml:id="ps">
[b8a819f]98<term><command>ps</command></term>
[c6cb3aa]99<listitem>
[673b0d8]100<indexterm zone="ch-system-procps ps"><primary sortas="b-ps">ps</primary></indexterm>
[c6cb3aa]101<para>gives a snapshot of the current processes.</para>
102</listitem>
103</varlistentry>
[73aedd1d]104
[1fe35e1]105<varlistentry xml:id="skill">
[b8a819f]106<term><command>skill</command></term>
[c6cb3aa]107<listitem>
[673b0d8]108<indexterm zone="ch-system-procps skill"><primary sortas="b-skill">skill</primary></indexterm>
[c6cb3aa]109<para>sends signals to processes matching the given criteria.</para>
110</listitem>
111</varlistentry>
[673b0d8]112
[1fe35e1]113<varlistentry xml:id="snice">
[b8a819f]114<term><command>snice</command></term>
[c6cb3aa]115<listitem>
[673b0d8]116<indexterm zone="ch-system-procps snice"><primary sortas="b-snice">snice</primary></indexterm>
[c6cb3aa]117<para>changes the scheduling priority of processes matching the given criteria.</para>
118</listitem>
119</varlistentry>
[673b0d8]120
[1fe35e1]121<varlistentry xml:id="sysctl">
[b8a819f]122<term><command>sysctl</command></term>
[c6cb3aa]123<listitem>
[673b0d8]124<indexterm zone="ch-system-procps sysctl"><primary sortas="b-sysctl">sysctl</primary></indexterm>
[c6cb3aa]125<para>modifies kernel parameters at run time.</para>
126</listitem>
127</varlistentry>
[673b0d8]128
[1fe35e1]129<varlistentry xml:id="tload">
[b8a819f]130<term><command>tload</command></term>
[c6cb3aa]131<listitem>
[673b0d8]132<indexterm zone="ch-system-procps tload"><primary sortas="b-tload">tload</primary></indexterm>
[c6cb3aa]133<para>prints a graph of the current system load average.</para>
134</listitem>
135</varlistentry>
[673b0d8]136
[1fe35e1]137<varlistentry xml:id="top">
[b8a819f]138<term><command>top</command></term>
[c6cb3aa]139<listitem>
[673b0d8]140<indexterm zone="ch-system-procps top"><primary sortas="b-top">top</primary></indexterm>
[c6cb3aa]141<para>displays the top CPU processes. It provides
[673b0d8]142an ongoing look at processor activity in real time.</para>
[c6cb3aa]143</listitem>
144</varlistentry>
[673b0d8]145
[1fe35e1]146<varlistentry xml:id="uptime">
[b8a819f]147<term><command>uptime</command></term>
[c6cb3aa]148<listitem>
[673b0d8]149<indexterm zone="ch-system-procps uptime"><primary sortas="b-uptime">uptime</primary></indexterm>
[c6cb3aa]150<para>reports how long the system has been
[673b0d8]151running, how many users are logged on, and the system load averages.</para>
[c6cb3aa]152</listitem>
153</varlistentry>
[673b0d8]154
[1fe35e1]155<varlistentry xml:id="vmstat">
[b8a819f]156<term><command>vmstat</command></term>
[c6cb3aa]157<listitem>
[673b0d8]158<indexterm zone="ch-system-procps vmstat"><primary sortas="b-vmstat">vmstat</primary></indexterm>
[c6cb3aa]159<para>reports virtual memory statistics, giving information about processes,
160memory, paging, block IO, traps, and CPU activity.</para>
161</listitem>
162</varlistentry>
163
[1fe35e1]164<varlistentry xml:id="w">
[b8a819f]165<term><command>w</command></term>
[c6cb3aa]166<listitem>
[673b0d8]167<indexterm zone="ch-system-procps w"><primary sortas="b-w">w</primary></indexterm>
[c6cb3aa]168<para>shows which users are currently logged on, where and since when.</para>
169</listitem>
170</varlistentry>
[673b0d8]171
[1fe35e1]172<varlistentry xml:id="watch">
[b8a819f]173<term><command>watch</command></term>
[c6cb3aa]174<listitem>
[673b0d8]175<indexterm zone="ch-system-procps watch"><primary sortas="b-watch">watch</primary></indexterm>
[c6cb3aa]176<para>runs a given command repeatedly, displaying the first screen-full of its
177output. This allows you to watch the output change over time.</para>
178</listitem>
179</varlistentry>
180
[1fe35e1]181<varlistentry xml:id="libproc">
[8ad7980]182<term><filename class="libraryfile">libproc</filename></term>
[c6cb3aa]183<listitem>
[673b0d8]184<indexterm zone="ch-system-procps libproc"><primary sortas="c-libproc">libproc</primary></indexterm>
[c6cb3aa]185<para>contains the functions used by most programs in this package.</para>
186</listitem>
187</varlistentry>
188</variablelist>
[673b0d8]189
[1fe35e1]190</section>
[673b0d8]191
[1fe35e1]192</section>
Note: See TracBrowser for help on using the repository browser.