source: chapter08/procps.xml@ 1dbc435

12.1 12.1-rc1 multilib trunk xry111/arm64 xry111/clfs-ng xry111/loongarch xry111/loongarch-12.1 xry111/mips64el xry111/update-glibc
Last change on this file since 1dbc435 was 3864d23, checked in by Bruce Dubbs <bdubbs@…>, 9 months ago

Package updates and misc upates/typos.

Update to vim-1837.$
Update to zlib-1.3.$
Update to wheel-0.41.2 (Python Module).$
Update to util-linux-2.39.2.$
Update to sysvinit-3.08.$
Update to shadow-4.14.0.$
Update to Python-3.11.5.$
Update to procps-ng-4.0.4.$
Update to pkgconf-2.0.2.$
Update to mpfr-4.2.1.$
Update to kbd-2.6.2.$
Update to gzip-1.13.$
Update to coreutils-9.4.$
Specify the 'nobody-group' for systemd.$
Remove unused usb group.$

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