source: BOOK/final-system/common/procps.xml@ 590ddeb

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 590ddeb was 5cabdc2, checked in by Joe Ciccone <jciccone@…>, 14 years ago

Correct typo regarding procps patch.

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