source: chapter06/procps.xml@ c2913ea

Last change on this file since c2913ea was 6a0e6f3, checked in by Matthew Burgess <matthew@…>, 20 years ago
  • Remove the spurious <info> tags that I thought were necessary but evidently aren't

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

  • Property mode set to 100644
File size: 6.0 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE section [
3 <!ENTITY % general-entities SYSTEM "../general.ent">
4 %general-entities;
5]>
6<section xmlns="http://docbook.org/docbook-ng"
7 xml:id="ch-system-procps" xreflabel="Procps" role="wrap">
8<title>Procps-&procps-version;</title>
9<?dbhtml filename="procps.html"?>
10
11<indexterm zone="ch-system-procps"><primary sortas="a-Procps">Procps</primary></indexterm>
12
13<section role="package"><title/>
14<para>The Procps package contains programs for monitoring processes.</para>
15
16<segmentedlist>
17<segtitle>&buildtime;</segtitle>
18<segtitle>&diskspace;</segtitle>
19<seglistitem><seg>0.1 SBU</seg><seg>6.2 MB</seg></seglistitem>
20</segmentedlist>
21
22<segmentedlist>
23<segtitle>Procps installation depends on</segtitle>
24<seglistitem><seg>Bash, Binutils, Coreutils, GCC, Glibc,
25Make, Ncurses</seg></seglistitem>
26</segmentedlist>
27</section>
28
29<section role="installation">
30<title>Installation of Procps</title>
31
32<para>Compile Procps:</para>
33
34<screen><userinput>make</userinput></screen>
35
36<para>Install it:</para>
37
38<screen><userinput>make install</userinput></screen>
39
40</section>
41
42
43<section xml:id="contents-procps" role="content">
44<title>Contents of Procps</title>
45
46<segmentedlist>
47<segtitle>Installed programs</segtitle>
48<segtitle>Installed library</segtitle>
49<seglistitem><seg>free, kill, pgrep, pkill,
50pmap, ps, skill, snice, sysctl, tload, top, uptime, vmstat, w and watch</seg>
51<seg>libproc.so</seg></seglistitem>
52</segmentedlist>
53
54<variablelist><title>Short descriptions</title>
55
56<varlistentry xml:id="free">
57<term><command>free</command></term>
58<listitem>
59<indexterm zone="ch-system-procps free"><primary sortas="b-free">free</primary></indexterm>
60<para>reports the amount of free and used memory
61in the system, both physical and swap memory.</para>
62</listitem>
63</varlistentry>
64
65<varlistentry xml:id="kill">
66<term><command>kill</command></term>
67<listitem>
68<indexterm zone="ch-system-procps kill"><primary sortas="b-kill">kill</primary></indexterm>
69<para>is used to send signals to processes.</para>
70</listitem>
71</varlistentry>
72
73<varlistentry xml:id="pgrep">
74<term><command>pgrep</command></term>
75<listitem>
76<indexterm zone="ch-system-procps pgrep"><primary sortas="b-pgrep">pgrep</primary></indexterm>
77<para>looks up processes based on their name and other attributes.</para>
78</listitem>
79</varlistentry>
80
81<varlistentry xml:id="pkill">
82<term><command>pkill</command></term>
83<listitem>
84<indexterm zone="ch-system-procps pkill"><primary sortas="b-pkill">pkill</primary></indexterm>
85<para>signals processes based on their name and other attributes.</para>
86</listitem>
87</varlistentry>
88
89<varlistentry xml:id="pmap">
90<term><command>pmap</command></term>
91<listitem>
92<indexterm zone="ch-system-procps pmap"><primary sortas="b-pmap">pmap</primary></indexterm>
93<para>reports the memory map of the given process.</para>
94</listitem>
95</varlistentry>
96
97<varlistentry xml:id="ps">
98<term><command>ps</command></term>
99<listitem>
100<indexterm zone="ch-system-procps ps"><primary sortas="b-ps">ps</primary></indexterm>
101<para>gives a snapshot of the current processes.</para>
102</listitem>
103</varlistentry>
104
105<varlistentry xml:id="skill">
106<term><command>skill</command></term>
107<listitem>
108<indexterm zone="ch-system-procps skill"><primary sortas="b-skill">skill</primary></indexterm>
109<para>sends signals to processes matching the given criteria.</para>
110</listitem>
111</varlistentry>
112
113<varlistentry xml:id="snice">
114<term><command>snice</command></term>
115<listitem>
116<indexterm zone="ch-system-procps snice"><primary sortas="b-snice">snice</primary></indexterm>
117<para>changes the scheduling priority of processes matching the given criteria.</para>
118</listitem>
119</varlistentry>
120
121<varlistentry xml:id="sysctl">
122<term><command>sysctl</command></term>
123<listitem>
124<indexterm zone="ch-system-procps sysctl"><primary sortas="b-sysctl">sysctl</primary></indexterm>
125<para>modifies kernel parameters at run time.</para>
126</listitem>
127</varlistentry>
128
129<varlistentry xml:id="tload">
130<term><command>tload</command></term>
131<listitem>
132<indexterm zone="ch-system-procps tload"><primary sortas="b-tload">tload</primary></indexterm>
133<para>prints a graph of the current system load average.</para>
134</listitem>
135</varlistentry>
136
137<varlistentry xml:id="top">
138<term><command>top</command></term>
139<listitem>
140<indexterm zone="ch-system-procps top"><primary sortas="b-top">top</primary></indexterm>
141<para>displays the top CPU processes. It provides
142an ongoing look at processor activity in real time.</para>
143</listitem>
144</varlistentry>
145
146<varlistentry xml:id="uptime">
147<term><command>uptime</command></term>
148<listitem>
149<indexterm zone="ch-system-procps uptime"><primary sortas="b-uptime">uptime</primary></indexterm>
150<para>reports how long the system has been
151running, how many users are logged on, and the system load averages.</para>
152</listitem>
153</varlistentry>
154
155<varlistentry xml:id="vmstat">
156<term><command>vmstat</command></term>
157<listitem>
158<indexterm zone="ch-system-procps vmstat"><primary sortas="b-vmstat">vmstat</primary></indexterm>
159<para>reports virtual memory statistics, giving information about processes,
160memory, paging, block IO, traps, and CPU activity.</para>
161</listitem>
162</varlistentry>
163
164<varlistentry xml:id="w">
165<term><command>w</command></term>
166<listitem>
167<indexterm zone="ch-system-procps w"><primary sortas="b-w">w</primary></indexterm>
168<para>shows which users are currently logged on, where and since when.</para>
169</listitem>
170</varlistentry>
171
172<varlistentry xml:id="watch">
173<term><command>watch</command></term>
174<listitem>
175<indexterm zone="ch-system-procps watch"><primary sortas="b-watch">watch</primary></indexterm>
176<para>runs a given command repeatedly, displaying the first screen-full of its
177output. This allows you to watch the output change over time.</para>
178</listitem>
179</varlistentry>
180
181<varlistentry xml:id="libproc">
182<term><filename class="libraryfile">libproc</filename></term>
183<listitem>
184<indexterm zone="ch-system-procps libproc"><primary sortas="c-libproc">libproc</primary></indexterm>
185<para>contains the functions used by most programs in this package.</para>
186</listitem>
187</varlistentry>
188</variablelist>
189
190</section>
191
192</section>
Note: See TracBrowser for help on using the repository browser.