source: clfs-sysroot/BOOK/final-system/common/procps.xml@ b797f97

Last change on this file since b797f97 was 12e6567, checked in by Joe Ciccone <jciccone@…>, 16 years ago

Added a sysroot wrapper.
Updated the build variables section of the book, each package uses its own.

  • Property mode set to 100644
File size: 9.0 KB
RevLine 
[02095ae]1<?xml version="1.0" encoding="ISO-8859-1"?>
[c439b8a]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[02095ae]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6]>
7
8<sect1 id="ch-system-procps" role="wrap">
9 <?dbhtml filename="procps.html"?>
10
11 <title>Procps-&procps-version;</title>
12
13 <indexterm zone="ch-system-procps">
14 <primary sortas="a-Procps">Procps</primary>
15 </indexterm>
16
17 <sect2 role="package">
18 <title/>
19
20 <para>The Procps package contains programs for monitoring
21 processes.</para>
22
23 </sect2>
24
[12e6567]25 &env-target;
26
[02095ae]27 <sect2 role="installation">
28 <title>Installation of Procps</title>
29
[69358a8]30 <para os="p3">This patch adds support for Internationalization:</para>
31
32<screen os="p4"><userinput>patch -Np1 -i ../&procps-i18n-patch;</userinput></screen>
33
[02095ae]34 <para os="a">Compile the package:</para>
35
[3423c60]36<screen os="b"><userinput>make CPPFLAGS= lib64=lib m64=</userinput></screen>
[02095ae]37
[124ebe0]38 <para os="c">Install the package:</para>
[02095ae]39
[3423c60]40<screen os="d"><userinput>make DESTDIR=${CLFS} lib64=lib m64= ldconfig= \
[c5968b4]41 install="install -D" install</userinput></screen>
[02095ae]42
[3cbc8f4]43 <variablelist os="e">
[a3ac3a2]44 <title>The meaning of the make options:</title>
45 <varlistentry>
[c5968b4]46 <term><parameter>CPPFLAGS=</parameter></term>
[a3ac3a2]47 <listitem>
48 <para>By default, procps tries to include the host system
49 ncurses headers, so we have to disable that.</para>
50 </listitem>
51 </varlistentry>
[3cbc8f4]52
53 <varlistentry>
54 <term><parameter>lib64=lib</parameter></term>
55 <listitem>
56 <para>By default, procps will attempt to install into
57 <filename class="directory">/lib64</filename> if it
58 exists, even if the package is not built 64-bit. This option
59 forces procps to install its libraries into
60 <filename class="directory">/lib</filename> instead.</para>
61 </listitem>
62 </varlistentry>
63 </variablelist>
64
[02095ae]65 </sect2>
66
67 <sect2 id="contents-procps" role="content">
68 <title>Contents of Procps</title>
69
70 <segmentedlist>
71 <segtitle>Installed programs</segtitle>
72 <segtitle>Installed library</segtitle>
73
74 <seglistitem>
[82b662d]75 <seg>free, kill, pgrep, pkill, pmap, ps, pwdx, skill, slabtop, snice, sysctl,
76 tload, top, uptime, vmstat, w, and watch</seg>
[02095ae]77 <seg>libproc.so</seg>
78 </seglistitem>
79 </segmentedlist>
80
81 <variablelist>
82 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
83 <?dbfo list-presentation="list"?>
84 <?dbhtml list-presentation="table"?>
85
86 <varlistentry id="free">
87 <term><command>free</command></term>
88 <listitem>
89 <para>Reports the amount of free and used memory (both physical and
90 swap memory) in the system</para>
91 <indexterm zone="ch-system-procps free">
92 <primary sortas="b-free">free</primary>
93 </indexterm>
94 </listitem>
95 </varlistentry>
96
97 <varlistentry id="kill">
98 <term><command>kill</command></term>
99 <listitem>
100 <para>Sends signals to processes</para>
101 <indexterm zone="ch-system-procps kill">
102 <primary sortas="b-kill">kill</primary>
103 </indexterm>
104 </listitem>
105 </varlistentry>
106
107 <varlistentry id="pgrep">
108 <term><command>pgrep</command></term>
109 <listitem>
110 <para>Looks up processes based on their name and other attributes</para>
111 <indexterm zone="ch-system-procps pgrep">
112 <primary sortas="b-pgrep">pgrep</primary>
113 </indexterm>
114 </listitem>
115 </varlistentry>
116
117 <varlistentry id="pkill">
118 <term><command>pkill</command></term>
119 <listitem>
120 <para>Signals processes based on their name and other attributes</para>
121 <indexterm zone="ch-system-procps pkill">
122 <primary sortas="b-pkill">pkill</primary>
123 </indexterm>
124 </listitem>
125 </varlistentry>
126
127 <varlistentry id="pmap">
128 <term><command>pmap</command></term>
129 <listitem>
130 <para>Reports the memory map of the given process</para>
131 <indexterm zone="ch-system-procps pmap">
132 <primary sortas="b-pmap">pmap</primary>
133 </indexterm>
134 </listitem>
135 </varlistentry>
136
137 <varlistentry id="ps">
138 <term><command>ps</command></term>
139 <listitem>
140 <para>Lists the current running processes</para>
141 <indexterm zone="ch-system-procps ps">
142 <primary sortas="b-ps">ps</primary>
143 </indexterm>
144 </listitem>
145 </varlistentry>
146
[82b662d]147 <varlistentry id="pwdx">
148 <term><command>pwdx</command></term>
149 <listitem>
150 <para>Reports the current working directory of a process</para>
151 <indexterm zone="ch-system-procps pwdx">
152 <primary sortas="b-pwdx">pwdx</primary>
153 </indexterm>
154 </listitem>
155 </varlistentry>
156
[02095ae]157 <varlistentry id="skill">
158 <term><command>skill</command></term>
159 <listitem>
160 <para>Sends signals to processes matching the given criteria</para>
161 <indexterm zone="ch-system-procps skill">
162 <primary sortas="b-skill">skill</primary>
163 </indexterm>
164 </listitem>
165 </varlistentry>
166
[82b662d]167 <varlistentry id="slabtop">
168 <term><command>slabtop</command></term>
169 <listitem>
[823185c]170 <para>Displays detailed kernel slab cache information in real time</para>
[82b662d]171 <indexterm zone="ch-system-procps slabtop">
172 <primary sortas="b-slabtop">slabtop</primary>
173 </indexterm>
174 </listitem>
175 </varlistentry>
176
[02095ae]177 <varlistentry id="snice">
178 <term><command>snice</command></term>
179 <listitem>
180 <para>Changes the scheduling priority of processes matching the given
181 criteria</para>
182 <indexterm zone="ch-system-procps snice">
183 <primary sortas="b-snice">snice</primary>
184 </indexterm>
185 </listitem>
186 </varlistentry>
187
188 <varlistentry id="sysctl">
189 <term><command>sysctl</command></term>
190 <listitem>
191 <para>Modifies kernel parameters at run time</para>
192 <indexterm zone="ch-system-procps sysctl">
193 <primary sortas="b-sysctl">sysctl</primary>
194 </indexterm>
195 </listitem>
196 </varlistentry>
197
198 <varlistentry id="tload">
199 <term><command>tload</command></term>
200 <listitem>
201 <para>Prints a graph of the current system load average</para>
202 <indexterm zone="ch-system-procps tload">
203 <primary sortas="b-tload">tload</primary>
204 </indexterm>
205 </listitem>
206 </varlistentry>
207
208 <varlistentry id="top">
209 <term><command>top</command></term>
210 <listitem>
211 <para>Displays a list of the most CPU intensive processes; it
212 provides an ongoing look at processor activity in real time</para>
213 <indexterm zone="ch-system-procps top">
214 <primary sortas="b-top">top</primary>
215 </indexterm>
216 </listitem>
217 </varlistentry>
218
219 <varlistentry id="uptime">
220 <term><command>uptime</command></term>
221 <listitem>
222 <para>Reports how long the system has been running, how many users are
223 logged on, and the system load averages</para>
224 <indexterm zone="ch-system-procps uptime">
225 <primary sortas="b-uptime">uptime</primary>
226 </indexterm>
227 </listitem>
228 </varlistentry>
229
230 <varlistentry id="vmstat">
231 <term><command>vmstat</command></term>
232 <listitem>
233 <para>Reports virtual memory statistics, giving information about
234 processes, memory, paging, block Input/Output (IO), traps, and CPU
235 activity</para>
236 <indexterm zone="ch-system-procps vmstat">
237 <primary sortas="b-vmstat">vmstat</primary>
238 </indexterm>
239 </listitem>
240 </varlistentry>
241
242 <varlistentry id="w">
243 <term><command>w</command></term>
244 <listitem>
245 <para>Shows which users are currently logged on, where, and since
246 when</para>
247 <indexterm zone="ch-system-procps w">
248 <primary sortas="b-w">w</primary>
249 </indexterm>
250 </listitem>
251 </varlistentry>
252
253 <varlistentry id="watch">
254 <term><command>watch</command></term>
255 <listitem>
256 <para>Runs a given command repeatedly, displaying the first
257 screen-full of its output; this allows a user to watch the output
258 change over time</para>
259 <indexterm zone="ch-system-procps watch">
260 <primary sortas="b-watch">watch</primary>
261 </indexterm>
262 </listitem>
263 </varlistentry>
264
265 <varlistentry id="libproc">
266 <term><filename class="libraryfile">libproc</filename></term>
267 <listitem>
268 <para>Contains the functions used by most programs in this
269 package</para>
270 <indexterm zone="ch-system-procps libproc">
271 <primary sortas="c-libproc">libproc</primary>
272 </indexterm>
273 </listitem>
274 </varlistentry>
275
276 </variablelist>
277
278 </sect2>
279
280</sect1>
Note: See TracBrowser for help on using the repository browser.