procps.xml 6.1 KB

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