Changeset 3f3931b0 for chapter06/procps.xml
- Timestamp:
- 02/07/2006 07:39:29 PM (18 years ago)
- Branches:
- 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.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
- Children:
- ddd5542
- Parents:
- 1ca11cd
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/procps.xml
r1ca11cd r3f3931b0 1 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" [ 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" 3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [ 3 4 <!ENTITY % general-entities SYSTEM "../general.ent"> 4 5 %general-entities; 5 6 ]> 7 6 8 <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>2.3 MB</seg></seglistitem> 19 </segmentedlist> 20 21 <segmentedlist> 22 <segtitle>&dependencies;</segtitle> 23 <seglistitem><seg>Bash, Binutils, Coreutils, GCC, Glibc, 24 Make, 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> 9 <?dbhtml filename="procps.html"?> 10 11 <title>Procps-&procps-version;</title> 12 13 <indexterm zone="ch-system-procps"> 14 <primary sortas="a-Procps">Procps</primary> 15 </indexterm> 16 17 <sect2 role="package"> 18 <title/> 19 20 <para>The Procps package contains programs for monitoring processes.</para> 21 22 <segmentedlist> 23 <segtitle>&buildtime;</segtitle> 24 <segtitle>&diskspace;</segtitle> 25 26 <seglistitem> 27 <seg>0.1 SBU</seg> 28 <seg>2.3 MB</seg> 29 </seglistitem> 30 </segmentedlist> 31 32 <segmentedlist> 33 <segtitle>&dependencies;</segtitle> 34 35 <seglistitem> 36 <seg>Bash, Binutils, Coreutils, GCC, Glibc, Make, and Ncurses</seg> 37 </seglistitem> 38 </segmentedlist> 39 40 </sect2> 41 42 <sect2 role="installation"> 43 <title>Installation of Procps</title> 44 45 <para>Compile the package:</para> 32 46 33 47 <screen><userinput>make</userinput></screen> 34 48 35 <para>This package does not come with a test suite.</para>36 37 <para>Install the package:</para>49 <para>This package does not come with a test suite.</para> 50 51 <para>Install the package:</para> 38 52 39 53 <screen><userinput>make install</userinput></screen> 40 54 41 </sect2> 42 43 44 <sect2 id="contents-procps" role="content"><title>Contents of Procps</title> 45 46 <segmentedlist> 47 <segtitle>Installed programs</segtitle> 48 <segtitle>Installed library</segtitle> 49 <seglistitem><seg>free, kill, pgrep, pkill, 50 pmap, ps, skill, snice, sysctl, tload, top, uptime, vmstat, w, and watch</seg> 51 <seg>libproc.so</seg></seglistitem> 52 </segmentedlist> 53 54 <variablelist><bridgehead renderas="sect3">Short Descriptions</bridgehead> 55 <?dbfo list-presentation="list"?> 56 <?dbhtml list-presentation="table"?> 57 58 <varlistentry id="free"> 59 <term><command>free</command></term> 60 <listitem> 61 <para>Reports the amount of free and used memory (both physical and 62 swap memory) in the system</para> 63 <indexterm zone="ch-system-procps free"><primary sortas="b-free">free</primary></indexterm> 64 </listitem> 65 </varlistentry> 66 67 <varlistentry id="kill"> 68 <term><command>kill</command></term> 69 <listitem> 70 <para>Sends signals to processes</para> 71 <indexterm zone="ch-system-procps kill"><primary sortas="b-kill">kill</primary></indexterm> 72 </listitem> 73 </varlistentry> 74 75 <varlistentry id="pgrep"> 76 <term><command>pgrep</command></term> 77 <listitem> 78 <para>Looks up processes based on their name and other attributes</para> 79 <indexterm zone="ch-system-procps pgrep"><primary sortas="b-pgrep">pgrep</primary></indexterm> 80 </listitem> 81 </varlistentry> 82 83 <varlistentry id="pkill"> 84 <term><command>pkill</command></term> 85 <listitem> 86 <para>Signals processes based on their name and other attributes</para> 87 <indexterm zone="ch-system-procps pkill"><primary sortas="b-pkill">pkill</primary></indexterm> 88 </listitem> 89 </varlistentry> 90 91 <varlistentry id="pmap"> 92 <term><command>pmap</command></term> 93 <listitem> 94 <para>Reports the memory map of the given process</para> 95 <indexterm zone="ch-system-procps pmap"><primary sortas="b-pmap">pmap</primary></indexterm> 96 </listitem> 97 </varlistentry> 98 99 <varlistentry id="ps"> 100 <term><command>ps</command></term> 101 <listitem> 102 <para>Lists the current running processes</para> 103 <indexterm zone="ch-system-procps ps"><primary sortas="b-ps">ps</primary></indexterm> 104 </listitem> 105 </varlistentry> 106 107 <varlistentry id="skill"> 108 <term><command>skill</command></term> 109 <listitem> 110 <para>Sends signals to processes matching the given criteria</para> 111 <indexterm zone="ch-system-procps skill"><primary sortas="b-skill">skill</primary></indexterm> 112 </listitem> 113 </varlistentry> 114 115 <varlistentry id="snice"> 116 <term><command>snice</command></term> 117 <listitem> 118 <para>Changes the scheduling priority of processes matching the given criteria</para> 119 <indexterm zone="ch-system-procps snice"><primary sortas="b-snice">snice</primary></indexterm> 120 </listitem> 121 </varlistentry> 122 123 <varlistentry id="sysctl"> 124 <term><command>sysctl</command></term> 125 <listitem> 126 <para>Modifies kernel parameters at run time</para> 127 <indexterm zone="ch-system-procps sysctl"><primary sortas="b-sysctl">sysctl</primary></indexterm> 128 </listitem> 129 </varlistentry> 130 131 <varlistentry id="tload"> 132 <term><command>tload</command></term> 133 <listitem> 134 <para>Prints a graph of the current system load average</para> 135 <indexterm zone="ch-system-procps tload"><primary sortas="b-tload">tload</primary></indexterm> 136 </listitem> 137 </varlistentry> 138 139 <varlistentry id="top"> 140 <term><command>top</command></term> 141 <listitem> 142 <para>Displays a list of the most CPU intensive processes; it provides an 143 ongoing look at processor activity in real time</para> 144 <indexterm zone="ch-system-procps top"><primary sortas="b-top">top</primary></indexterm> 145 </listitem> 146 </varlistentry> 147 148 <varlistentry id="uptime"> 149 <term><command>uptime</command></term> 150 <listitem> 151 <para>Reports how long the system has been running, how many users are 152 logged on, and the system load averages</para> 153 <indexterm zone="ch-system-procps uptime"><primary sortas="b-uptime">uptime</primary></indexterm> 154 </listitem> 155 </varlistentry> 156 157 <varlistentry id="vmstat"> 158 <term><command>vmstat</command></term> 159 <listitem> 160 <para>Reports virtual memory statistics, giving information about 161 processes, memory, paging, block Input/Output (IO), traps, and CPU activity</para> 162 <indexterm zone="ch-system-procps vmstat"><primary sortas="b-vmstat">vmstat</primary></indexterm> 163 </listitem> 164 </varlistentry> 165 166 <varlistentry id="w"> 167 <term><command>w</command></term> 168 <listitem> 169 <para>Shows which users are currently logged on, where, and since when</para> 170 <indexterm zone="ch-system-procps w"><primary sortas="b-w">w</primary></indexterm> 171 </listitem> 172 </varlistentry> 173 174 <varlistentry id="watch"> 175 <term><command>watch</command></term> 176 <listitem> 177 <para>Runs a given command repeatedly, displaying the first screen-full of its 178 output; this allows a user to watch the output change over time</para> 179 <indexterm zone="ch-system-procps watch"><primary sortas="b-watch">watch</primary></indexterm> 180 </listitem> 181 </varlistentry> 182 183 <varlistentry id="libproc"> 184 <term><filename class="libraryfile">libproc</filename></term> 185 <listitem> 186 <para>Contains the functions used by most programs in this package</para> 187 <indexterm zone="ch-system-procps libproc"><primary sortas="c-libproc">libproc</primary></indexterm> 188 </listitem> 189 </varlistentry> 190 </variablelist> 191 192 </sect2> 55 </sect2> 56 57 <sect2 id="contents-procps" role="content"> 58 <title>Contents of Procps</title> 59 60 <segmentedlist> 61 <segtitle>Installed programs</segtitle> 62 <segtitle>Installed library</segtitle> 63 64 <seglistitem> 65 <seg>free, kill, pgrep, pkill, pmap, ps, skill, snice, sysctl, tload, 66 top, uptime, vmstat, w, and watch</seg> 67 <seg>libproc.so</seg> 68 </seglistitem> 69 </segmentedlist> 70 71 <variablelist> 72 <bridgehead renderas="sect3">Short Descriptions</bridgehead> 73 <?dbfo list-presentation="list"?> 74 <?dbhtml list-presentation="table"?> 75 76 <varlistentry id="free"> 77 <term><command>free</command></term> 78 <listitem> 79 <para>Reports the amount of free and used memory (both physical and 80 swap memory) in the system</para> 81 <indexterm zone="ch-system-procps free"> 82 <primary sortas="b-free">free</primary> 83 </indexterm> 84 </listitem> 85 </varlistentry> 86 87 <varlistentry id="kill"> 88 <term><command>kill</command></term> 89 <listitem> 90 <para>Sends signals to processes</para> 91 <indexterm zone="ch-system-procps kill"> 92 <primary sortas="b-kill">kill</primary> 93 </indexterm> 94 </listitem> 95 </varlistentry> 96 97 <varlistentry id="pgrep"> 98 <term><command>pgrep</command></term> 99 <listitem> 100 <para>Looks up processes based on their name and other attributes</para> 101 <indexterm zone="ch-system-procps pgrep"> 102 <primary sortas="b-pgrep">pgrep</primary> 103 </indexterm> 104 </listitem> 105 </varlistentry> 106 107 <varlistentry id="pkill"> 108 <term><command>pkill</command></term> 109 <listitem> 110 <para>Signals processes based on their name and other attributes</para> 111 <indexterm zone="ch-system-procps pkill"> 112 <primary sortas="b-pkill">pkill</primary> 113 </indexterm> 114 </listitem> 115 </varlistentry> 116 117 <varlistentry id="pmap"> 118 <term><command>pmap</command></term> 119 <listitem> 120 <para>Reports the memory map of the given process</para> 121 <indexterm zone="ch-system-procps pmap"> 122 <primary sortas="b-pmap">pmap</primary> 123 </indexterm> 124 </listitem> 125 </varlistentry> 126 127 <varlistentry id="ps"> 128 <term><command>ps</command></term> 129 <listitem> 130 <para>Lists the current running processes</para> 131 <indexterm zone="ch-system-procps ps"> 132 <primary sortas="b-ps">ps</primary> 133 </indexterm> 134 </listitem> 135 </varlistentry> 136 137 <varlistentry id="skill"> 138 <term><command>skill</command></term> 139 <listitem> 140 <para>Sends signals to processes matching the given criteria</para> 141 <indexterm zone="ch-system-procps skill"> 142 <primary sortas="b-skill">skill</primary> 143 </indexterm> 144 </listitem> 145 </varlistentry> 146 147 <varlistentry id="snice"> 148 <term><command>snice</command></term> 149 <listitem> 150 <para>Changes the scheduling priority of processes matching the given 151 criteria</para> 152 <indexterm zone="ch-system-procps snice"> 153 <primary sortas="b-snice">snice</primary> 154 </indexterm> 155 </listitem> 156 </varlistentry> 157 158 <varlistentry id="sysctl"> 159 <term><command>sysctl</command></term> 160 <listitem> 161 <para>Modifies kernel parameters at run time</para> 162 <indexterm zone="ch-system-procps sysctl"> 163 <primary sortas="b-sysctl">sysctl</primary> 164 </indexterm> 165 </listitem> 166 </varlistentry> 167 168 <varlistentry id="tload"> 169 <term><command>tload</command></term> 170 <listitem> 171 <para>Prints a graph of the current system load average</para> 172 <indexterm zone="ch-system-procps tload"> 173 <primary sortas="b-tload">tload</primary> 174 </indexterm> 175 </listitem> 176 </varlistentry> 177 178 <varlistentry id="top"> 179 <term><command>top</command></term> 180 <listitem> 181 <para>Displays a list of the most CPU intensive processes; it 182 provides an ongoing look at processor activity in real time</para> 183 <indexterm zone="ch-system-procps top"> 184 <primary sortas="b-top">top</primary> 185 </indexterm> 186 </listitem> 187 </varlistentry> 188 189 <varlistentry id="uptime"> 190 <term><command>uptime</command></term> 191 <listitem> 192 <para>Reports how long the system has been running, how many users are 193 logged on, and the system load averages</para> 194 <indexterm zone="ch-system-procps uptime"> 195 <primary sortas="b-uptime">uptime</primary> 196 </indexterm> 197 </listitem> 198 </varlistentry> 199 200 <varlistentry id="vmstat"> 201 <term><command>vmstat</command></term> 202 <listitem> 203 <para>Reports virtual memory statistics, giving information about 204 processes, memory, paging, block Input/Output (IO), traps, and CPU 205 activity</para> 206 <indexterm zone="ch-system-procps vmstat"> 207 <primary sortas="b-vmstat">vmstat</primary> 208 </indexterm> 209 </listitem> 210 </varlistentry> 211 212 <varlistentry id="w"> 213 <term><command>w</command></term> 214 <listitem> 215 <para>Shows which users are currently logged on, where, and since 216 when</para> 217 <indexterm zone="ch-system-procps w"> 218 <primary sortas="b-w">w</primary> 219 </indexterm> 220 </listitem> 221 </varlistentry> 222 223 <varlistentry id="watch"> 224 <term><command>watch</command></term> 225 <listitem> 226 <para>Runs a given command repeatedly, displaying the first 227 screen-full of its output; this allows a user to watch the output 228 change over time</para> 229 <indexterm zone="ch-system-procps watch"> 230 <primary sortas="b-watch">watch</primary> 231 </indexterm> 232 </listitem> 233 </varlistentry> 234 235 <varlistentry id="libproc"> 236 <term><filename class="libraryfile">libproc</filename></term> 237 <listitem> 238 <para>Contains the functions used by most programs in this 239 package</para> 240 <indexterm zone="ch-system-procps libproc"> 241 <primary sortas="c-libproc">libproc</primary> 242 </indexterm> 243 </listitem> 244 </varlistentry> 245 246 </variablelist> 247 248 </sect2> 193 249 194 250 </sect1> 195
Note:
See TracChangeset
for help on using the changeset viewer.