source: chapter06/procps.xml@ a5b1d9e

10.0 10.0-rc1 10.1 10.1-rc1 11.0 11.0-rc1 11.0-rc2 11.0-rc3 11.1 11.1-rc1 11.2 11.2-rc1 11.3 11.3-rc1 12.0 12.0-rc1 12.1 12.1-rc1 6.4 6.5 6.6 6.7 6.8 7.0 7.1 7.2 7.3 7.4 7.5 7.5-systemd 7.6 7.6-systemd 7.7 7.7-systemd 7.8 7.8-systemd 7.9 7.9-systemd 8.0 8.1 8.2 8.3 8.4 9.0 9.1 arm bdubbs/gcc13 ml-11.0 multilib renodr/libudev-from-systemd s6-init trunk xry111/arm64 xry111/arm64-12.0 xry111/clfs-ng xry111/lfs-next xry111/loongarch xry111/loongarch-12.0 xry111/loongarch-12.1 xry111/mips64el xry111/pip3 xry111/rust-wip-20221008 xry111/update-glibc
Last change on this file since a5b1d9e was a5b1d9e, checked in by Randy McMurchy <randy@…>, 16 years ago

Typo in the Procps instructions

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

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