source: chapter08/procps.xml@ a2808be

12.1-rc1
Last change on this file since a2808be was 28614cdd, checked in by Bruce Dubbs <bdubbs@…>, 7 months ago

Update descriptions for some test failures.

  • Property mode set to 100644
File size: 9.6 KB
RevLine 
[7152faa]1<?xml version="1.0" encoding="UTF-8"?>
[b06ca36]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[673b0d8]4 <!ENTITY % general-entities SYSTEM "../general.ent">
5 %general-entities;
6]>
[3f3931b0]7
[81fd230]8<sect1 id="ch-system-procps" role="wrap">
[ec9f9d4]9 <?dbhtml filename="procps-ng.html"?>
[3f3931b0]10
[e747759]11 <sect1info condition="script">
[ec9f9d4]12 <productname>procps-ng</productname>
13 <productnumber>&procps-ng-version;</productnumber>
14 <address>&procps-ng-url;</address>
[e747759]15 </sect1info>
16
[63d6655]17 <title>Procps-ng-&procps-ng-version;</title>
[3f3931b0]18
19 <indexterm zone="ch-system-procps">
[ec9f9d4]20 <primary sortas="a-Procps">Procps-ng</primary>
[3f3931b0]21 </indexterm>
22
23 <sect2 role="package">
24 <title/>
[673b0d8]25
[ec9f9d4]26 <para>The Procps-ng package contains programs for monitoring processes.</para>
[6370fa6]27
[3f3931b0]28 <segmentedlist>
29 <segtitle>&buildtime;</segtitle>
30 <segtitle>&diskspace;</segtitle>
[5888299]31
[3f3931b0]32 <seglistitem>
[fb386e0]33 <seg>&procps-ng-fin-sbu;</seg>
34 <seg>&procps-ng-fin-du;</seg>
[3f3931b0]35 </seglistitem>
36 </segmentedlist>
[673b0d8]37
[3f3931b0]38 </sect2>
39
40 <sect2 role="installation">
[ec9f9d4]41 <title>Installation of Procps-ng</title>
[3f3931b0]42
[baf93f5]43 <para>Prepare Procps-ng for compilation:</para>
[62b134d]44
[89c3f71]45<screen revision="sysv"><userinput remap="configure">./configure --prefix=/usr \
[79dc83f]46 --docdir=/usr/share/doc/procps-ng-&procps-ng-version; \
[89c3f71]47 --disable-static \
[ec9f9d4]48 --disable-kill</userinput></screen>
[62b134d]49
[89c3f71]50<screen revision="systemd"><userinput remap="configure">./configure --prefix=/usr \
[1118b17]51 --docdir=/usr/share/doc/procps-ng-&procps-ng-version; \
[89c3f71]52 --disable-static \
53 --disable-kill \
[1118b17]54 --with-systemd</userinput></screen>
55
[ec9f9d4]56 <variablelist>
[6a156bab]57 <title>The meaning of the configure option:</title>
[3e80156]58
[ec9f9d4]59 <varlistentry>
60 <term><parameter>--disable-kill</parameter></term>
61 <listitem>
[f0800aa]62 <para>This switch disables building the <command>kill</command>
[baf93f5]63 command; it will be installed from the Util-linux package.</para>
[ec9f9d4]64 </listitem>
65 </varlistentry>
66 </variablelist>
[2ca8941]67
[58c4a18]68 <para>Compile the package:</para>
[73aedd1d]69
[3864d23]70<screen revision='sysv'><userinput remap="make">make</userinput></screen>
71<screen revision='systemd'><userinput remap="make">make src_w_LDADD='$(LDADD) -lsystemd'</userinput></screen>
72
[ba82c18]73 <para> To run the test suite, run:</para>
74
75<screen><userinput remap="test">make check</userinput></screen>
[2ca8941]76
[28614cdd]77 <para>One test in the "ps" tests is known to fail.</para>
78
[58c4a18]79 <para>Install the package:</para>
[73aedd1d]80
[0445a3d]81<screen><userinput remap="install">make install</userinput></screen>
[73aedd1d]82
[3f3931b0]83 </sect2>
84
85 <sect2 id="contents-procps" role="content">
[ec9f9d4]86 <title>Contents of Procps-ng</title>
[3f3931b0]87
88 <segmentedlist>
89 <segtitle>Installed programs</segtitle>
90 <segtitle>Installed library</segtitle>
[f41fa81]91 <segtitle>Installed directories</segtitle>
[3f3931b0]92
93 <seglistitem>
[9132fe4]94 <seg>free, pgrep, pidof, pkill, pmap, ps, pwdx, slabtop,
[f41fa81]95 sysctl, tload, top, uptime, vmstat, w, and watch</seg>
[75bab32]96 <seg>libproc-2.so</seg>
97 <seg>/usr/include/procps and /usr/share/doc/procps-ng-&procps-ng-version;</seg>
[3f3931b0]98 </seglistitem>
99 </segmentedlist>
100
101 <variablelist>
102 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
103 <?dbfo list-presentation="list"?>
104 <?dbhtml list-presentation="table"?>
105
106 <varlistentry id="free">
107 <term><command>free</command></term>
108 <listitem>
109 <para>Reports the amount of free and used memory (both physical and
110 swap memory) in the system</para>
111 <indexterm zone="ch-system-procps free">
112 <primary sortas="b-free">free</primary>
113 </indexterm>
114 </listitem>
115 </varlistentry>
116
117 <varlistentry id="pgrep">
118 <term><command>pgrep</command></term>
119 <listitem>
120 <para>Looks up processes based on their name and other attributes</para>
121 <indexterm zone="ch-system-procps pgrep">
122 <primary sortas="b-pgrep">pgrep</primary>
123 </indexterm>
124 </listitem>
125 </varlistentry>
126
[9132fe4]127 <varlistentry id="pidof">
128 <term><command>pidof</command></term>
129 <listitem>
[1d6f204]130 <para>Reports the PIDs of the given programs</para>
[9132fe4]131 <indexterm zone="ch-system-procps pidof">
132 <primary sortas="b-pidof">pidof</primary>
133 </indexterm>
134 </listitem>
135 </varlistentry>
136
[3f3931b0]137 <varlistentry id="pkill">
138 <term><command>pkill</command></term>
139 <listitem>
140 <para>Signals processes based on their name and other attributes</para>
141 <indexterm zone="ch-system-procps pkill">
142 <primary sortas="b-pkill">pkill</primary>
143 </indexterm>
144 </listitem>
145 </varlistentry>
146
147 <varlistentry id="pmap">
148 <term><command>pmap</command></term>
149 <listitem>
150 <para>Reports the memory map of the given process</para>
151 <indexterm zone="ch-system-procps pmap">
152 <primary sortas="b-pmap">pmap</primary>
153 </indexterm>
154 </listitem>
155 </varlistentry>
156
157 <varlistentry id="ps">
158 <term><command>ps</command></term>
159 <listitem>
160 <para>Lists the current running processes</para>
161 <indexterm zone="ch-system-procps ps">
162 <primary sortas="b-ps">ps</primary>
163 </indexterm>
164 </listitem>
165 </varlistentry>
166
[baf93f5]167 <!-- <varlistentry id="pwait">
[f9a430a]168 <term><command>pwait</command></term>
169 <listitem>
170 <para>Waits for a process to finish before executing.</para>
171 <indexterm zone="ch-system-procps pwait">
172 <primary sortas="b-pwait">pwait</primary>
173 </indexterm>
174 </listitem>
[baf93f5]175 </varlistentry> This program no longer exists;
176 it's already been removed from the Installed programs list. -->
[f9a430a]177
[2791a8e]178 <varlistentry id="pwdx">
179 <term><command>pwdx</command></term>
180 <listitem>
181 <para>Reports the current working directory of a process</para>
182 <indexterm zone="ch-system-procps pwdx">
183 <primary sortas="b-pwdx">pwdx</primary>
184 </indexterm>
185 </listitem>
186 </varlistentry>
187
[8bc46a5]188 <varlistentry id="slabtop">
189 <term><command>slabtop</command></term>
190 <listitem>
[0d84af1]191 <para>Displays detailed kernel slab cache information in real time</para>
[8bc46a5]192 <indexterm zone="ch-system-procps slabtop">
193 <primary sortas="b-slabtop">slabtop</primary>
194 </indexterm>
195 </listitem>
196 </varlistentry>
197
[3f3931b0]198 <varlistentry id="sysctl">
199 <term><command>sysctl</command></term>
200 <listitem>
201 <para>Modifies kernel parameters at run time</para>
202 <indexterm zone="ch-system-procps sysctl">
203 <primary sortas="b-sysctl">sysctl</primary>
204 </indexterm>
205 </listitem>
206 </varlistentry>
207
208 <varlistentry id="tload">
209 <term><command>tload</command></term>
210 <listitem>
211 <para>Prints a graph of the current system load average</para>
212 <indexterm zone="ch-system-procps tload">
213 <primary sortas="b-tload">tload</primary>
214 </indexterm>
215 </listitem>
216 </varlistentry>
217
218 <varlistentry id="top">
219 <term><command>top</command></term>
220 <listitem>
221 <para>Displays a list of the most CPU intensive processes; it
222 provides an ongoing look at processor activity in real time</para>
223 <indexterm zone="ch-system-procps top">
224 <primary sortas="b-top">top</primary>
225 </indexterm>
226 </listitem>
227 </varlistentry>
228
229 <varlistentry id="uptime">
230 <term><command>uptime</command></term>
231 <listitem>
232 <para>Reports how long the system has been running, how many users are
233 logged on, and the system load averages</para>
234 <indexterm zone="ch-system-procps uptime">
235 <primary sortas="b-uptime">uptime</primary>
236 </indexterm>
237 </listitem>
238 </varlistentry>
239
240 <varlistentry id="vmstat">
241 <term><command>vmstat</command></term>
242 <listitem>
243 <para>Reports virtual memory statistics, giving information about
244 processes, memory, paging, block Input/Output (IO), traps, and CPU
245 activity</para>
246 <indexterm zone="ch-system-procps vmstat">
247 <primary sortas="b-vmstat">vmstat</primary>
248 </indexterm>
249 </listitem>
250 </varlistentry>
251
252 <varlistentry id="w">
253 <term><command>w</command></term>
254 <listitem>
255 <para>Shows which users are currently logged on, where, and since
256 when</para>
257 <indexterm zone="ch-system-procps w">
258 <primary sortas="b-w">w</primary>
259 </indexterm>
260 </listitem>
261 </varlistentry>
262
263 <varlistentry id="watch">
264 <term><command>watch</command></term>
265 <listitem>
266 <para>Runs a given command repeatedly, displaying the first
267 screen-full of its output; this allows a user to watch the output
268 change over time</para>
269 <indexterm zone="ch-system-procps watch">
270 <primary sortas="b-watch">watch</primary>
271 </indexterm>
272 </listitem>
273 </varlistentry>
274
[75bab32]275 <varlistentry id="libproc-2">
276 <term><filename class="libraryfile">libproc-2</filename></term>
[3f3931b0]277 <listitem>
278 <para>Contains the functions used by most programs in this
279 package</para>
[75bab32]280 <indexterm zone="ch-system-procps libproc-2">
281 <primary sortas="c-libproc-2">libproc-2</primary>
[3f3931b0]282 </indexterm>
283 </listitem>
284 </varlistentry>
285
286 </variablelist>
287
288 </sect2>
[673b0d8]289
290</sect1>
Note: See TracBrowser for help on using the repository browser.