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

Last change on this file since 3a5c139 was c439b8a, checked in by Manuel Canales Esparcia <manuel@…>, 18 years ago

Updated CLFS-Sysroot book sources to use DocBook-XML DTD 4.5.

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