source: chapter06/procps.xml@ e4a5635

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.3 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 e4a5635 was e4a5635, checked in by Manuel Canales Esparcia <manuel@…>, 18 years ago

Replaced "<" by "less than".

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

  • Property mode set to 100644
File size: 7.5 KB
Line 
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 processes.</para>
21
22 <segmentedlist>
23 <segtitle>&buildtime;</segtitle>
24 <segtitle>&diskspace;</segtitle>
25
26 <seglistitem>
27 <seg>&procps-ch6-sbu;</seg>
28 <seg>&procps-ch6-du;</seg>
29 </seglistitem>
30 </segmentedlist>
31
32 </sect2>
33
34 <sect2 role="installation">
35 <title>Installation of Procps</title>
36
37 <para>Compile the package:</para>
38
39<screen><userinput>make</userinput></screen>
40
41 <para>This package does not come with a test suite.</para>
42
43 <para>Install the package:</para>
44
45<screen><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, skill, snice, sysctl, tload,
58 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="skill">
130 <term><command>skill</command></term>
131 <listitem>
132 <para>Sends signals to processes matching the given criteria</para>
133 <indexterm zone="ch-system-procps skill">
134 <primary sortas="b-skill">skill</primary>
135 </indexterm>
136 </listitem>
137 </varlistentry>
138
139 <varlistentry id="snice">
140 <term><command>snice</command></term>
141 <listitem>
142 <para>Changes the scheduling priority of processes matching the given
143 criteria</para>
144 <indexterm zone="ch-system-procps snice">
145 <primary sortas="b-snice">snice</primary>
146 </indexterm>
147 </listitem>
148 </varlistentry>
149
150 <varlistentry id="sysctl">
151 <term><command>sysctl</command></term>
152 <listitem>
153 <para>Modifies kernel parameters at run time</para>
154 <indexterm zone="ch-system-procps sysctl">
155 <primary sortas="b-sysctl">sysctl</primary>
156 </indexterm>
157 </listitem>
158 </varlistentry>
159
160 <varlistentry id="tload">
161 <term><command>tload</command></term>
162 <listitem>
163 <para>Prints a graph of the current system load average</para>
164 <indexterm zone="ch-system-procps tload">
165 <primary sortas="b-tload">tload</primary>
166 </indexterm>
167 </listitem>
168 </varlistentry>
169
170 <varlistentry id="top">
171 <term><command>top</command></term>
172 <listitem>
173 <para>Displays a list of the most CPU intensive processes; it
174 provides an ongoing look at processor activity in real time</para>
175 <indexterm zone="ch-system-procps top">
176 <primary sortas="b-top">top</primary>
177 </indexterm>
178 </listitem>
179 </varlistentry>
180
181 <varlistentry id="uptime">
182 <term><command>uptime</command></term>
183 <listitem>
184 <para>Reports how long the system has been running, how many users are
185 logged on, and the system load averages</para>
186 <indexterm zone="ch-system-procps uptime">
187 <primary sortas="b-uptime">uptime</primary>
188 </indexterm>
189 </listitem>
190 </varlistentry>
191
192 <varlistentry id="vmstat">
193 <term><command>vmstat</command></term>
194 <listitem>
195 <para>Reports virtual memory statistics, giving information about
196 processes, memory, paging, block Input/Output (IO), traps, and CPU
197 activity</para>
198 <indexterm zone="ch-system-procps vmstat">
199 <primary sortas="b-vmstat">vmstat</primary>
200 </indexterm>
201 </listitem>
202 </varlistentry>
203
204 <varlistentry id="w">
205 <term><command>w</command></term>
206 <listitem>
207 <para>Shows which users are currently logged on, where, and since
208 when</para>
209 <indexterm zone="ch-system-procps w">
210 <primary sortas="b-w">w</primary>
211 </indexterm>
212 </listitem>
213 </varlistentry>
214
215 <varlistentry id="watch">
216 <term><command>watch</command></term>
217 <listitem>
218 <para>Runs a given command repeatedly, displaying the first
219 screen-full of its output; this allows a user to watch the output
220 change over time</para>
221 <indexterm zone="ch-system-procps watch">
222 <primary sortas="b-watch">watch</primary>
223 </indexterm>
224 </listitem>
225 </varlistentry>
226
227 <varlistentry id="libproc">
228 <term><filename class="libraryfile">libproc</filename></term>
229 <listitem>
230 <para>Contains the functions used by most programs in this
231 package</para>
232 <indexterm zone="ch-system-procps libproc">
233 <primary sortas="c-libproc">libproc</primary>
234 </indexterm>
235 </listitem>
236 </varlistentry>
237
238 </variablelist>
239
240 </sect2>
241
242</sect1>
Note: See TracBrowser for help on using the repository browser.