source: chapter06/procps.xml@ 8d5ffbfd

Last change on this file since 8d5ffbfd was a0e1913, checked in by Manuel Canales Esparcia <manuel@…>, 19 years ago

Removed the package name from the dependencies titles.

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

  • Property mode set to 100644
File size: 6.3 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
3 <!ENTITY % general-entities SYSTEM "../general.ent">
4 %general-entities;
5]>
6<sect1 id="ch-system-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>&dependencies;</segtitle>
23<seglistitem><seg>Bash, Binutils, Coreutils, GCC, Glibc,
24Make, and Ncurses</seg></seglistitem>
25</segmentedlist>
26</sect2>
27
28<sect2 role="installation">
29
30<title>Installation of Procps</title>
31
32<para arch="raq2">The patch below fixes the issue with the procps. Without this patch
33when the command ps aux is run you will receive a signal 11.</para>
34
35<screen arch="raq2"><userinput>patch -Np1 -i ../procps-&procps-version;-fix_mips-1.patch</userinput></screen>
36
37<para>Compile the package:</para>
38
39<screen><userinput>make</userinput></screen>
40
41<para>Install the package:</para>
42
43<screen><userinput>make install</userinput></screen>
44
45</sect2>
46
47<sect2 id="contents-procps" role="content"><title>Contents of Procps</title>
48
49<segmentedlist>
50<segtitle>Installed programs</segtitle>
51<segtitle>Installed library</segtitle>
52<seglistitem><seg>free, kill, pgrep, pkill,
53pmap, ps, skill, snice, sysctl, tload, top, uptime, vmstat, w, and watch</seg>
54<seg>libproc.so</seg></seglistitem>
55</segmentedlist>
56
57<variablelist><bridgehead renderas="sect3">Short Descriptions</bridgehead>
58<?dbfo list-presentation="list"?>
59<?dbhtml list-presentation="table"?>
60
61<varlistentry id="free">
62<term><command>free</command></term>
63<listitem>
64<para>Reports the amount of free and used memory (both physical and
65swap memory) in the system</para>
66<indexterm zone="ch-system-procps free"><primary sortas="b-free">free</primary></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"><primary sortas="b-kill">kill</primary></indexterm>
75</listitem>
76</varlistentry>
77
78<varlistentry id="pgrep">
79<term><command>pgrep</command></term>
80<listitem>
81<para>Looks up processes based on their name and other attributes</para>
82<indexterm zone="ch-system-procps pgrep"><primary sortas="b-pgrep">pgrep</primary></indexterm>
83</listitem>
84</varlistentry>
85
86<varlistentry id="pkill">
87<term><command>pkill</command></term>
88<listitem>
89<para>Signals processes based on their name and other attributes</para>
90<indexterm zone="ch-system-procps pkill"><primary sortas="b-pkill">pkill</primary></indexterm>
91</listitem>
92</varlistentry>
93
94<varlistentry id="pmap">
95<term><command>pmap</command></term>
96<listitem>
97<para>Reports the memory map of the given process</para>
98<indexterm zone="ch-system-procps pmap"><primary sortas="b-pmap">pmap</primary></indexterm>
99</listitem>
100</varlistentry>
101
102<varlistentry id="ps">
103<term><command>ps</command></term>
104<listitem>
105<para>Lists the current running processes</para>
106<indexterm zone="ch-system-procps ps"><primary sortas="b-ps">ps</primary></indexterm>
107</listitem>
108</varlistentry>
109
110<varlistentry id="skill">
111<term><command>skill</command></term>
112<listitem>
113<para>Sends signals to processes matching the given criteria</para>
114<indexterm zone="ch-system-procps skill"><primary sortas="b-skill">skill</primary></indexterm>
115</listitem>
116</varlistentry>
117
118<varlistentry id="snice">
119<term><command>snice</command></term>
120<listitem>
121<para>Changes the scheduling priority of processes matching the given criteria</para>
122<indexterm zone="ch-system-procps snice"><primary sortas="b-snice">snice</primary></indexterm>
123</listitem>
124</varlistentry>
125
126<varlistentry id="sysctl">
127<term><command>sysctl</command></term>
128<listitem>
129<para>Modifies kernel parameters at run time</para>
130<indexterm zone="ch-system-procps sysctl"><primary sortas="b-sysctl">sysctl</primary></indexterm>
131</listitem>
132</varlistentry>
133
134<varlistentry id="tload">
135<term><command>tload</command></term>
136<listitem>
137<para>Prints a graph of the current system load average</para>
138<indexterm zone="ch-system-procps tload"><primary sortas="b-tload">tload</primary></indexterm>
139</listitem>
140</varlistentry>
141
142<varlistentry id="top">
143<term><command>top</command></term>
144<listitem>
145<para>Displays the top CPU processes; it provides an ongoing look at
146processor activity in real time</para>
147<indexterm zone="ch-system-procps top"><primary sortas="b-top">top</primary></indexterm>
148</listitem>
149</varlistentry>
150
151<varlistentry id="uptime">
152<term><command>uptime</command></term>
153<listitem>
154<para>Reports how long the system has been running, how many users are
155logged on, and the system load averages</para>
156<indexterm zone="ch-system-procps uptime"><primary sortas="b-uptime">uptime</primary></indexterm>
157</listitem>
158</varlistentry>
159
160<varlistentry id="vmstat">
161<term><command>vmstat</command></term>
162<listitem>
163<para>Reports virtual memory statistics, giving information about
164processes, memory, paging, block Input/Output (IO), traps, and CPU activity</para>
165<indexterm zone="ch-system-procps vmstat"><primary sortas="b-vmstat">vmstat</primary></indexterm>
166</listitem>
167</varlistentry>
168
169<varlistentry id="w">
170<term><command>w</command></term>
171<listitem>
172<para>Shows which users are currently logged on, where, and since when</para>
173<indexterm zone="ch-system-procps w"><primary sortas="b-w">w</primary></indexterm>
174</listitem>
175</varlistentry>
176
177<varlistentry id="watch">
178<term><command>watch</command></term>
179<listitem>
180<para>Runs a given command repeatedly, displaying the first screen-full of its
181output; this allows a user to watch the output change over time</para>
182<indexterm zone="ch-system-procps watch"><primary sortas="b-watch">watch</primary></indexterm>
183</listitem>
184</varlistentry>
185
186<varlistentry id="libproc">
187<term><filename class="libraryfile">libproc</filename></term>
188<listitem>
189<para>Contains the functions used by most programs in this package</para>
190<indexterm zone="ch-system-procps libproc"><primary sortas="c-libproc">libproc</primary></indexterm>
191</listitem>
192</varlistentry>
193</variablelist>
194
195</sect2>
196
197</sect1>
198
Note: See TracBrowser for help on using the repository browser.