procps.xml 7.7 KB

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