procps.xml 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268
  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>Compile the package:</para>
  33. <screen><userinput remap="make">make</userinput></screen>
  34. <para>This package does not come with a test suite.</para>
  35. <para>Install the package:</para>
  36. <screen><userinput remap="install">make install</userinput></screen>
  37. </sect2>
  38. <sect2 id="contents-procps" role="content">
  39. <title>Contents of Procps</title>
  40. <segmentedlist>
  41. <segtitle>Installed programs</segtitle>
  42. <segtitle>Installed library</segtitle>
  43. <seglistitem>
  44. <seg>free, kill, pgrep, pkill, pmap, ps, pwdx, skill, slabtop, snice,
  45. sysctl, tload, top, uptime, vmstat, w, and watch</seg>
  46. <seg>libproc.so</seg>
  47. </seglistitem>
  48. </segmentedlist>
  49. <variablelist>
  50. <bridgehead renderas="sect3">Short Descriptions</bridgehead>
  51. <?dbfo list-presentation="list"?>
  52. <?dbhtml list-presentation="table"?>
  53. <varlistentry id="free">
  54. <term><command>free</command></term>
  55. <listitem>
  56. <para>Reports the amount of free and used memory (both physical and
  57. swap memory) in the system</para>
  58. <indexterm zone="ch-system-procps free">
  59. <primary sortas="b-free">free</primary>
  60. </indexterm>
  61. </listitem>
  62. </varlistentry>
  63. <varlistentry id="kill">
  64. <term><command>kill</command></term>
  65. <listitem>
  66. <para>Sends signals to processes</para>
  67. <indexterm zone="ch-system-procps kill">
  68. <primary sortas="b-kill">kill</primary>
  69. </indexterm>
  70. </listitem>
  71. </varlistentry>
  72. <varlistentry id="pgrep">
  73. <term><command>pgrep</command></term>
  74. <listitem>
  75. <para>Looks up processes based on their name and other attributes</para>
  76. <indexterm zone="ch-system-procps pgrep">
  77. <primary sortas="b-pgrep">pgrep</primary>
  78. </indexterm>
  79. </listitem>
  80. </varlistentry>
  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">
  86. <primary sortas="b-pkill">pkill</primary>
  87. </indexterm>
  88. </listitem>
  89. </varlistentry>
  90. <varlistentry id="pmap">
  91. <term><command>pmap</command></term>
  92. <listitem>
  93. <para>Reports the memory map of the given process</para>
  94. <indexterm zone="ch-system-procps pmap">
  95. <primary sortas="b-pmap">pmap</primary>
  96. </indexterm>
  97. </listitem>
  98. </varlistentry>
  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">
  104. <primary sortas="b-ps">ps</primary>
  105. </indexterm>
  106. </listitem>
  107. </varlistentry>
  108. <varlistentry id="pwdx">
  109. <term><command>pwdx</command></term>
  110. <listitem>
  111. <para>Reports the current working directory of a process</para>
  112. <indexterm zone="ch-system-procps pwdx">
  113. <primary sortas="b-pwdx">pwdx</primary>
  114. </indexterm>
  115. </listitem>
  116. </varlistentry>
  117. <varlistentry id="skill">
  118. <term><command>skill</command></term>
  119. <listitem>
  120. <para>Sends signals to processes matching the given criteria</para>
  121. <indexterm zone="ch-system-procps skill">
  122. <primary sortas="b-skill">skill</primary>
  123. </indexterm>
  124. </listitem>
  125. </varlistentry>
  126. <varlistentry id="slabtop">
  127. <term><command>slabtop</command></term>
  128. <listitem>
  129. <para>Displays detailed kernel slap cache information in real time</para>
  130. <indexterm zone="ch-system-procps slabtop">
  131. <primary sortas="b-slabtop">slabtop</primary>
  132. </indexterm>
  133. </listitem>
  134. </varlistentry>
  135. <varlistentry id="snice">
  136. <term><command>snice</command></term>
  137. <listitem>
  138. <para>Changes the scheduling priority of processes matching the given
  139. criteria</para>
  140. <indexterm zone="ch-system-procps snice">
  141. <primary sortas="b-snice">snice</primary>
  142. </indexterm>
  143. </listitem>
  144. </varlistentry>
  145. <varlistentry id="sysctl">
  146. <term><command>sysctl</command></term>
  147. <listitem>
  148. <para>Modifies kernel parameters at run time</para>
  149. <indexterm zone="ch-system-procps sysctl">
  150. <primary sortas="b-sysctl">sysctl</primary>
  151. </indexterm>
  152. </listitem>
  153. </varlistentry>
  154. <varlistentry id="tload">
  155. <term><command>tload</command></term>
  156. <listitem>
  157. <para>Prints a graph of the current system load average</para>
  158. <indexterm zone="ch-system-procps tload">
  159. <primary sortas="b-tload">tload</primary>
  160. </indexterm>
  161. </listitem>
  162. </varlistentry>
  163. <varlistentry id="top">
  164. <term><command>top</command></term>
  165. <listitem>
  166. <para>Displays a list of the most CPU intensive processes; it
  167. provides an ongoing look at processor activity in real time</para>
  168. <indexterm zone="ch-system-procps top">
  169. <primary sortas="b-top">top</primary>
  170. </indexterm>
  171. </listitem>
  172. </varlistentry>
  173. <varlistentry id="uptime">
  174. <term><command>uptime</command></term>
  175. <listitem>
  176. <para>Reports how long the system has been running, how many users are
  177. logged on, and the system load averages</para>
  178. <indexterm zone="ch-system-procps uptime">
  179. <primary sortas="b-uptime">uptime</primary>
  180. </indexterm>
  181. </listitem>
  182. </varlistentry>
  183. <varlistentry id="vmstat">
  184. <term><command>vmstat</command></term>
  185. <listitem>
  186. <para>Reports virtual memory statistics, giving information about
  187. processes, memory, paging, block Input/Output (IO), traps, and CPU
  188. activity</para>
  189. <indexterm zone="ch-system-procps vmstat">
  190. <primary sortas="b-vmstat">vmstat</primary>
  191. </indexterm>
  192. </listitem>
  193. </varlistentry>
  194. <varlistentry id="w">
  195. <term><command>w</command></term>
  196. <listitem>
  197. <para>Shows which users are currently logged on, where, and since
  198. when</para>
  199. <indexterm zone="ch-system-procps w">
  200. <primary sortas="b-w">w</primary>
  201. </indexterm>
  202. </listitem>
  203. </varlistentry>
  204. <varlistentry id="watch">
  205. <term><command>watch</command></term>
  206. <listitem>
  207. <para>Runs a given command repeatedly, displaying the first
  208. screen-full of its output; this allows a user to watch the output
  209. change over time</para>
  210. <indexterm zone="ch-system-procps watch">
  211. <primary sortas="b-watch">watch</primary>
  212. </indexterm>
  213. </listitem>
  214. </varlistentry>
  215. <varlistentry id="libproc">
  216. <term><filename class="libraryfile">libproc</filename></term>
  217. <listitem>
  218. <para>Contains the functions used by most programs in this
  219. package</para>
  220. <indexterm zone="ch-system-procps libproc">
  221. <primary sortas="c-libproc">libproc</primary>
  222. </indexterm>
  223. </listitem>
  224. </varlistentry>
  225. </variablelist>
  226. </sect2>
  227. </sect1>