source: chapter06/procps.xml@ 0445a3d

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 0445a3d was 0445a3d, checked in by Manuel Canales Esparcia <manuel@…>, 17 years ago

Added remap attributes to userinput tags in packages pages.

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

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