source: chapter06/procps.xml@ a001133

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.0 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 a001133 was a001133, checked in by Manuel Canales Esparcia <manuel@…>, 20 years ago

HEAD: Retaged the introductori packages sections in chapter0{6,7,8}

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

  • Property mode set to 100644
File size: 4.9 KB
Line 
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]>
6<sect1 id="ch-system-procps" xreflabel="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, Ncurses</seg></seglistitem>
25</segmentedlist>
26</sect2>
27
28<sect2 role="installation">
29<title>Installation of Procps</title>
30
31<para>Compile Procps:</para>
32
33<screen><userinput>make</userinput></screen>
34
35<para>Install it:</para>
36
37<screen><userinput>make install</userinput></screen>
38
39<para>Remove a spurious library link:</para>
40
41<screen><userinput>rm /lib/libproc.so</userinput></screen>
42
43</sect2>
44
45
46<sect2 id="contents-procps"><title>Contents of Procps</title>
47
48<para><emphasis>Installed programs</emphasis>: free, kill, pgrep, pkill,
49pmap, ps, skill, snice, sysctl, tload, top, uptime, vmstat, w and watch</para>
50
51<para><emphasis>Installed library</emphasis>: libproc.so</para>
52
53</sect2>
54
55
56<sect2><title>Short descriptions</title>
57
58<indexterm zone="ch-system-procps free"><primary sortas="b-free">free</primary></indexterm>
59<para id="free"><command>free</command> reports the amount of free and used memory
60in the system, both physical and swap memory.</para>
61
62<indexterm zone="ch-system-procps kill"><primary sortas="b-kill">kill</primary></indexterm>
63<para id="kill"><command>kill</command> is used to send signals to processes.</para>
64
65<indexterm zone="ch-system-procps pgrep"><primary sortas="b-pgrep">pgrep</primary></indexterm>
66<para id="pgrep"><command>pgrep</command> looks up processes based on their name
67and other attributes.</para>
68
69<indexterm zone="ch-system-procps pkill"><primary sortas="b-pkill">pkill</primary></indexterm>
70<para id="pkill"><command>pkill</command> signals processes based on their name
71and other attributes.</para>
72
73<indexterm zone="ch-system-procps pmap"><primary sortas="b-pmap">pmap</primary></indexterm>
74<para id="pmap"><command>pmap</command> reports the memory map of the given
75process.</para>
76
77<indexterm zone="ch-system-procps ps"><primary sortas="b-ps">ps</primary></indexterm>
78<para id="ps"><command>ps</command> gives a snapshot of the current processes.</para>
79
80<indexterm zone="ch-system-procps skill"><primary sortas="b-skill">skill</primary></indexterm>
81<para id="skill"><command>skill</command> sends signals to processes matching the
82given criteria.</para>
83
84<indexterm zone="ch-system-procps snice"><primary sortas="b-snice">snice</primary></indexterm>
85<para id="snice"><command>snice</command> changes the scheduling priority of processes
86matching the given criteria.</para>
87
88<indexterm zone="ch-system-procps sysctl"><primary sortas="b-sysctl">sysctl</primary></indexterm>
89<para id="sysctl"><command>sysctl</command> modifies kernel parameters at run time.</para>
90
91<indexterm zone="ch-system-procps tload"><primary sortas="b-tload">tload</primary></indexterm>
92<para id="tload"><command>tload</command> prints a graph of the current system load
93average.</para>
94
95<indexterm zone="ch-system-procps top"><primary sortas="b-top">top</primary></indexterm>
96<para id="top"><command>top</command> displays the top CPU processes. It provides
97an ongoing look at processor activity in real time.</para>
98
99<indexterm zone="ch-system-procps uptime"><primary sortas="b-uptime">uptime</primary></indexterm>
100<para id="uptime"><command>uptime</command> reports how long the system has been
101running, how many users are logged on, and the system load averages.</para>
102
103<indexterm zone="ch-system-procps vmstat"><primary sortas="b-vmstat">vmstat</primary></indexterm>
104<para id="vmstat"><command>vmstat</command> reports virtual memory statistics, giving
105information about processes, memory, paging, block IO, traps, and CPU
106activity.</para>
107
108<indexterm zone="ch-system-procps w"><primary sortas="b-w">w</primary></indexterm>
109<para id="w"><command>w</command> shows which users are currently logged on,
110where and since when.</para>
111
112<indexterm zone="ch-system-procps watch"><primary sortas="b-watch">watch</primary></indexterm>
113<para id="watch"><command>watch</command> runs a given command repeatedly,
114displaying the first screen-full of its output. This allows you to watch the
115output change over time.</para>
116
117<indexterm zone="ch-system-procps libproc"><primary sortas="c-libproc">libproc</primary></indexterm>
118<para id="libproc"><command>libproc</command> contains the functions used by most
119programs in this package.</para>
120
121</sect2>
122
123
124
125</sect1>
Note: See TracBrowser for help on using the repository browser.