[673b0d8] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[1770019] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
[673b0d8] | 3 | <!ENTITY % general-entities SYSTEM "../general.ent">
|
---|
| 4 | %general-entities;
|
---|
| 5 | ]>
|
---|
[81fd230] | 6 | <sect1 id="ch-system-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/>
|
---|
[81fd230] | 13 | <para>The Procps package contains programs for monitoring processes.</para>
|
---|
[5888299] | 14 |
|
---|
[a001133] | 15 | <segmentedlist>
|
---|
| 16 | <segtitle>&buildtime;</segtitle>
|
---|
| 17 | <segtitle>&diskspace;</segtitle>
|
---|
[fc1024a] | 18 | <seglistitem><seg>0.1 SBU</seg><seg>2.3 MB</seg></seglistitem>
|
---|
[a001133] | 19 | </segmentedlist>
|
---|
[673b0d8] | 20 |
|
---|
[81fd230] | 21 | <segmentedlist>
|
---|
[45992ae] | 22 | <segtitle>&dependencies;</segtitle>
|
---|
[81fd230] | 23 | <seglistitem><seg>Bash, Binutils, Coreutils, GCC, Glibc,
|
---|
| 24 | Make, and Ncurses</seg></seglistitem>
|
---|
| 25 | </segmentedlist>
|
---|
[a001133] | 26 | </sect2>
|
---|
[3554fa3a] | 27 |
|
---|
[a001133] | 28 | <sect2 role="installation">
|
---|
[73aedd1d] | 29 | <title>Installation of Procps</title>
|
---|
| 30 |
|
---|
[81fd230] | 31 | <para>Compile the package:</para>
|
---|
[73aedd1d] | 32 |
|
---|
| 33 | <screen><userinput>make</userinput></screen>
|
---|
| 34 |
|
---|
[81fd230] | 35 | <para>Install the package:</para>
|
---|
[73aedd1d] | 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 |
|
---|
[81fd230] | 44 | <segmentedlist>
|
---|
| 45 | <segtitle>Installed programs</segtitle>
|
---|
| 46 | <segtitle>Installed library</segtitle>
|
---|
| 47 | <seglistitem><seg>free, kill, pgrep, pkill,
|
---|
| 48 | pmap, 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"?>
|
---|
[8f97096] | 54 | <?dbhtml list-presentation="table"?>
|
---|
[81fd230] | 55 |
|
---|
| 56 | <varlistentry id="free">
|
---|
| 57 | <term><command>free</command></term>
|
---|
| 58 | <listitem>
|
---|
| 59 | <para>Reports the amount of free and used memory (both physical and
|
---|
| 60 | swap memory) in the system</para>
|
---|
| 61 | <indexterm zone="ch-system-procps free"><primary sortas="b-free">free</primary></indexterm>
|
---|
| 62 | </listitem>
|
---|
| 63 | </varlistentry>
|
---|
| 64 |
|
---|
| 65 | <varlistentry id="kill">
|
---|
| 66 | <term><command>kill</command></term>
|
---|
| 67 | <listitem>
|
---|
| 68 | <para>Sends signals to processes</para>
|
---|
| 69 | <indexterm zone="ch-system-procps kill"><primary sortas="b-kill">kill</primary></indexterm>
|
---|
| 70 | </listitem>
|
---|
| 71 | </varlistentry>
|
---|
| 72 |
|
---|
| 73 | <varlistentry id="pgrep">
|
---|
| 74 | <term><command>pgrep</command></term>
|
---|
| 75 | <listitem>
|
---|
| 76 | <para>Looks up processes based on their name and other attributes</para>
|
---|
| 77 | <indexterm zone="ch-system-procps pgrep"><primary sortas="b-pgrep">pgrep</primary></indexterm>
|
---|
| 78 | </listitem>
|
---|
| 79 | </varlistentry>
|
---|
| 80 |
|
---|
| 81 | <varlistentry id="pkill">
|
---|
| 82 | <term><command>pkill</command></term>
|
---|
| 83 | <listitem>
|
---|
| 84 | <para>Signals processes based on their name and other attributes</para>
|
---|
| 85 | <indexterm zone="ch-system-procps pkill"><primary sortas="b-pkill">pkill</primary></indexterm>
|
---|
| 86 | </listitem>
|
---|
| 87 | </varlistentry>
|
---|
| 88 |
|
---|
| 89 | <varlistentry id="pmap">
|
---|
| 90 | <term><command>pmap</command></term>
|
---|
| 91 | <listitem>
|
---|
| 92 | <para>Reports the memory map of the given process</para>
|
---|
| 93 | <indexterm zone="ch-system-procps pmap"><primary sortas="b-pmap">pmap</primary></indexterm>
|
---|
| 94 | </listitem>
|
---|
| 95 | </varlistentry>
|
---|
| 96 |
|
---|
| 97 | <varlistentry id="ps">
|
---|
| 98 | <term><command>ps</command></term>
|
---|
| 99 | <listitem>
|
---|
| 100 | <para>Lists the current running processes</para>
|
---|
| 101 | <indexterm zone="ch-system-procps ps"><primary sortas="b-ps">ps</primary></indexterm>
|
---|
| 102 | </listitem>
|
---|
| 103 | </varlistentry>
|
---|
| 104 |
|
---|
| 105 | <varlistentry id="skill">
|
---|
| 106 | <term><command>skill</command></term>
|
---|
| 107 | <listitem>
|
---|
| 108 | <para>Sends signals to processes matching the given criteria</para>
|
---|
| 109 | <indexterm zone="ch-system-procps skill"><primary sortas="b-skill">skill</primary></indexterm>
|
---|
| 110 | </listitem>
|
---|
| 111 | </varlistentry>
|
---|
| 112 |
|
---|
| 113 | <varlistentry id="snice">
|
---|
| 114 | <term><command>snice</command></term>
|
---|
| 115 | <listitem>
|
---|
| 116 | <para>Changes the scheduling priority of processes matching the given criteria</para>
|
---|
| 117 | <indexterm zone="ch-system-procps snice"><primary sortas="b-snice">snice</primary></indexterm>
|
---|
| 118 | </listitem>
|
---|
| 119 | </varlistentry>
|
---|
| 120 |
|
---|
| 121 | <varlistentry id="sysctl">
|
---|
| 122 | <term><command>sysctl</command></term>
|
---|
| 123 | <listitem>
|
---|
| 124 | <para>Modifies kernel parameters at run time</para>
|
---|
| 125 | <indexterm zone="ch-system-procps sysctl"><primary sortas="b-sysctl">sysctl</primary></indexterm>
|
---|
| 126 | </listitem>
|
---|
| 127 | </varlistentry>
|
---|
| 128 |
|
---|
| 129 | <varlistentry id="tload">
|
---|
| 130 | <term><command>tload</command></term>
|
---|
| 131 | <listitem>
|
---|
| 132 | <para>Prints a graph of the current system load average</para>
|
---|
| 133 | <indexterm zone="ch-system-procps tload"><primary sortas="b-tload">tload</primary></indexterm>
|
---|
| 134 | </listitem>
|
---|
| 135 | </varlistentry>
|
---|
| 136 |
|
---|
| 137 | <varlistentry id="top">
|
---|
| 138 | <term><command>top</command></term>
|
---|
| 139 | <listitem>
|
---|
[816f430] | 140 | <para>Displays a list of the most CPU intensive processes; it provides an
|
---|
| 141 | ongoing look at processor activity in real time</para>
|
---|
[81fd230] | 142 | <indexterm zone="ch-system-procps top"><primary sortas="b-top">top</primary></indexterm>
|
---|
| 143 | </listitem>
|
---|
| 144 | </varlistentry>
|
---|
| 145 |
|
---|
| 146 | <varlistentry id="uptime">
|
---|
| 147 | <term><command>uptime</command></term>
|
---|
| 148 | <listitem>
|
---|
| 149 | <para>Reports how long the system has been running, how many users are
|
---|
| 150 | logged on, and the system load averages</para>
|
---|
| 151 | <indexterm zone="ch-system-procps uptime"><primary sortas="b-uptime">uptime</primary></indexterm>
|
---|
| 152 | </listitem>
|
---|
| 153 | </varlistentry>
|
---|
| 154 |
|
---|
| 155 | <varlistentry id="vmstat">
|
---|
| 156 | <term><command>vmstat</command></term>
|
---|
| 157 | <listitem>
|
---|
| 158 | <para>Reports virtual memory statistics, giving information about
|
---|
| 159 | processes, memory, paging, block Input/Output (IO), traps, and CPU activity</para>
|
---|
| 160 | <indexterm zone="ch-system-procps vmstat"><primary sortas="b-vmstat">vmstat</primary></indexterm>
|
---|
| 161 | </listitem>
|
---|
| 162 | </varlistentry>
|
---|
| 163 |
|
---|
| 164 | <varlistentry id="w">
|
---|
| 165 | <term><command>w</command></term>
|
---|
| 166 | <listitem>
|
---|
| 167 | <para>Shows which users are currently logged on, where, and since when</para>
|
---|
| 168 | <indexterm zone="ch-system-procps w"><primary sortas="b-w">w</primary></indexterm>
|
---|
| 169 | </listitem>
|
---|
| 170 | </varlistentry>
|
---|
| 171 |
|
---|
| 172 | <varlistentry id="watch">
|
---|
| 173 | <term><command>watch</command></term>
|
---|
| 174 | <listitem>
|
---|
[816f430] | 175 | <para>Runs a given command repeatedly, displaying the first screen-full of its
|
---|
[81fd230] | 176 | output; this allows a user to watch the output change over time</para>
|
---|
| 177 | <indexterm zone="ch-system-procps watch"><primary sortas="b-watch">watch</primary></indexterm>
|
---|
| 178 | </listitem>
|
---|
| 179 | </varlistentry>
|
---|
| 180 |
|
---|
| 181 | <varlistentry id="libproc">
|
---|
| 182 | <term><filename class="libraryfile">libproc</filename></term>
|
---|
| 183 | <listitem>
|
---|
| 184 | <para>Contains the functions used by most programs in this package</para>
|
---|
| 185 | <indexterm zone="ch-system-procps libproc"><primary sortas="c-libproc">libproc</primary></indexterm>
|
---|
| 186 | </listitem>
|
---|
| 187 | </varlistentry>
|
---|
| 188 | </variablelist>
|
---|
[673b0d8] | 189 |
|
---|
| 190 | </sect2>
|
---|
| 191 |
|
---|
| 192 | </sect1>
|
---|
[81fd230] | 193 |
|
---|