source: chapter06/procps.xml@ dcd3cf1

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.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 dcd3cf1 was a62617aa, checked in by Jeremy Utley <jeremy@…>, 20 years ago

Stopped trying to remove /lib/libproc.so, since it's no longer there

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

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