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