source: chapter06/procps.xml@ 083c9f8

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