source: chapter06/procps.xml@ b8a819f

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.0 6.1 6.1.1 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 b8a819f was b8a819f, checked in by Manuel Canales Esparcia <manuel@…>, 20 years ago

Changed the id's location in the Short descriptions sections to fix a bug in the PDF generation.

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

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