procps.xml 6.0 KB

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