source: chapter06/procps.xml@ 3f9e82f

Last change on this file since 3f9e82f was 3f9e82f, checked in by Jim Gifford <jim@…>, 20 years ago

Added:procps patch for RaQ2

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/multi-arch/BOOK@4612 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>Procps installation depends on</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
60<varlistentry id="free">
61<term><command>free</command></term>
62<listitem>
63<para>Reports the amount of free and used memory (both physical and
64swap memory) in the system</para>
65<indexterm zone="ch-system-procps free"><primary sortas="b-free">free</primary></indexterm>
66</listitem>
67</varlistentry>
68
69<varlistentry id="kill">
70<term><command>kill</command></term>
71<listitem>
72<para>Sends signals to processes</para>
73<indexterm zone="ch-system-procps kill"><primary sortas="b-kill">kill</primary></indexterm>
74</listitem>
75</varlistentry>
76
77<varlistentry id="pgrep">
78<term><command>pgrep</command></term>
79<listitem>
80<para>Looks up processes based on their name and other attributes</para>
81<indexterm zone="ch-system-procps pgrep"><primary sortas="b-pgrep">pgrep</primary></indexterm>
82</listitem>
83</varlistentry>
84
85<varlistentry id="pkill">
86<term><command>pkill</command></term>
87<listitem>
88<para>Signals processes based on their name and other attributes</para>
89<indexterm zone="ch-system-procps pkill"><primary sortas="b-pkill">pkill</primary></indexterm>
90</listitem>
91</varlistentry>
92
93<varlistentry id="pmap">
94<term><command>pmap</command></term>
95<listitem>
96<para>Reports the memory map of the given process</para>
97<indexterm zone="ch-system-procps pmap"><primary sortas="b-pmap">pmap</primary></indexterm>
98</listitem>
99</varlistentry>
100
101<varlistentry id="ps">
102<term><command>ps</command></term>
103<listitem>
104<para>Lists the current running processes</para>
105<indexterm zone="ch-system-procps ps"><primary sortas="b-ps">ps</primary></indexterm>
106</listitem>
107</varlistentry>
108
109<varlistentry id="skill">
110<term><command>skill</command></term>
111<listitem>
112<para>Sends signals to processes matching the given criteria</para>
113<indexterm zone="ch-system-procps skill"><primary sortas="b-skill">skill</primary></indexterm>
114</listitem>
115</varlistentry>
116
117<varlistentry id="snice">
118<term><command>snice</command></term>
119<listitem>
120<para>Changes the scheduling priority of processes matching the given criteria</para>
121<indexterm zone="ch-system-procps snice"><primary sortas="b-snice">snice</primary></indexterm>
122</listitem>
123</varlistentry>
124
125<varlistentry id="sysctl">
126<term><command>sysctl</command></term>
127<listitem>
128<para>Modifies kernel parameters at run time</para>
129<indexterm zone="ch-system-procps sysctl"><primary sortas="b-sysctl">sysctl</primary></indexterm>
130</listitem>
131</varlistentry>
132
133<varlistentry id="tload">
134<term><command>tload</command></term>
135<listitem>
136<para>Prints a graph of the current system load average</para>
137<indexterm zone="ch-system-procps tload"><primary sortas="b-tload">tload</primary></indexterm>
138</listitem>
139</varlistentry>
140
141<varlistentry id="top">
142<term><command>top</command></term>
143<listitem>
144<para>Displays the top CPU processes; it provides an ongoing look at
145processor activity in real time</para>
146<indexterm zone="ch-system-procps top"><primary sortas="b-top">top</primary></indexterm>
147</listitem>
148</varlistentry>
149
150<varlistentry id="uptime">
151<term><command>uptime</command></term>
152<listitem>
153<para>Reports how long the system has been running, how many users are
154logged on, and the system load averages</para>
155<indexterm zone="ch-system-procps uptime"><primary sortas="b-uptime">uptime</primary></indexterm>
156</listitem>
157</varlistentry>
158
159<varlistentry id="vmstat">
160<term><command>vmstat</command></term>
161<listitem>
162<para>Reports virtual memory statistics, giving information about
163processes, memory, paging, block Input/Output (IO), traps, and CPU activity</para>
164<indexterm zone="ch-system-procps vmstat"><primary sortas="b-vmstat">vmstat</primary></indexterm>
165</listitem>
166</varlistentry>
167
168<varlistentry id="w">
169<term><command>w</command></term>
170<listitem>
171<para>Shows which users are currently logged on, where, and since when</para>
172<indexterm zone="ch-system-procps w"><primary sortas="b-w">w</primary></indexterm>
173</listitem>
174</varlistentry>
175
176<varlistentry id="watch">
177<term><command>watch</command></term>
178<listitem>
179<para>Runs a given command repeatedly, displaying the first screen-full of its
180output; this allows a user to watch the output change over time</para>
181<indexterm zone="ch-system-procps watch"><primary sortas="b-watch">watch</primary></indexterm>
182</listitem>
183</varlistentry>
184
185<varlistentry id="libproc">
186<term><filename class="libraryfile">libproc</filename></term>
187<listitem>
188<para>Contains the functions used by most programs in this package</para>
189<indexterm zone="ch-system-procps libproc"><primary sortas="c-libproc">libproc</primary></indexterm>
190</listitem>
191</varlistentry>
192</variablelist>
193
194</sect2>
195
196</sect1>
197
Note: See TracBrowser for help on using the repository browser.