procps.xml 8.2 KB

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