procps.xml 8.6 KB

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