source: chapter06/procps.xml@ 81fd230

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 81fd230 was 81fd230, checked in by Gerard Beekmans <gerard@…>, 19 years ago

Trunk is now identical to Testing

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

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