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