procps.xml 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. <?xml version="1.0" encoding="ISO-8859-1"?>
  2. <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
  3. <!ENTITY % general-entities SYSTEM "../general.ent">
  4. %general-entities;
  5. ]>
  6. <sect1 id="ch-system-procps" xreflabel="Procps">
  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. <para>The Procps package contains programs for monitoring processes.</para>
  11. <screen>&buildtime; 0.1 SBU
  12. &diskspace; 6.2 MB</screen>
  13. <para>Procps installation depends on: Bash, Binutils, Coreutils, GCC, Glibc,
  14. Make, Ncurses.</para>
  15. <sect2>
  16. <title>Installation of Procps</title>
  17. <para>Compile Procps:</para>
  18. <screen><userinput>make</userinput></screen>
  19. <para>Install it:</para>
  20. <screen><userinput>make install</userinput></screen>
  21. <para>Remove a spurious library link:</para>
  22. <screen><userinput>rm /lib/libproc.so</userinput></screen>
  23. </sect2>
  24. <sect2 id="contents-procps"><title>Contents of Procps</title>
  25. <para><emphasis>Installed programs</emphasis>: free, kill, pgrep, pkill,
  26. pmap, ps, skill, snice, sysctl, tload, top, uptime, vmstat, w and watch</para>
  27. <para><emphasis>Installed library</emphasis>: libproc.so</para>
  28. </sect2>
  29. <sect2><title>Short descriptions</title>
  30. <indexterm zone="ch-system-procps free"><primary sortas="b-free">free</primary></indexterm>
  31. <para id="free"><command>free</command> reports the amount of free and used memory
  32. in the system, both physical and swap memory.</para>
  33. <indexterm zone="ch-system-procps kill"><primary sortas="b-kill">kill</primary></indexterm>
  34. <para id="kill"><command>kill</command> is used to send signals to processes.</para>
  35. <indexterm zone="ch-system-procps pgrep"><primary sortas="b-pgrep">pgrep</primary></indexterm>
  36. <para id="pgrep"><command>pgrep</command> looks up processes based on their name
  37. and other attributes.</para>
  38. <indexterm zone="ch-system-procps pkill"><primary sortas="b-pkill">pkill</primary></indexterm>
  39. <para id="pkill"><command>pkill</command> signals processes based on their name
  40. and other attributes.</para>
  41. <indexterm zone="ch-system-procps pmap"><primary sortas="b-pmap">pmap</primary></indexterm>
  42. <para id="pmap"><command>pmap</command> reports the memory map of the given
  43. process.</para>
  44. <indexterm zone="ch-system-procps ps"><primary sortas="b-ps">ps</primary></indexterm>
  45. <para id="ps"><command>ps</command> gives a snapshot of the current processes.</para>
  46. <indexterm zone="ch-system-procps skill"><primary sortas="b-skill">skill</primary></indexterm>
  47. <para id="skill"><command>skill</command> sends signals to processes matching the
  48. given criteria.</para>
  49. <indexterm zone="ch-system-procps snice"><primary sortas="b-snice">snice</primary></indexterm>
  50. <para id="snice"><command>snice</command> changes the scheduling priority of processes
  51. matching the given criteria.</para>
  52. <indexterm zone="ch-system-procps sysctl"><primary sortas="b-sysctl">sysctl</primary></indexterm>
  53. <para id="sysctl"><command>sysctl</command> modifies kernel parameters at run time.</para>
  54. <indexterm zone="ch-system-procps tload"><primary sortas="b-tload">tload</primary></indexterm>
  55. <para id="tload"><command>tload</command> prints a graph of the current system load
  56. average.</para>
  57. <indexterm zone="ch-system-procps top"><primary sortas="b-top">top</primary></indexterm>
  58. <para id="top"><command>top</command> displays the top CPU processes. It provides
  59. an ongoing look at processor activity in real time.</para>
  60. <indexterm zone="ch-system-procps uptime"><primary sortas="b-uptime">uptime</primary></indexterm>
  61. <para id="uptime"><command>uptime</command> reports how long the system has been
  62. running, how many users are logged on, and the system load averages.</para>
  63. <indexterm zone="ch-system-procps vmstat"><primary sortas="b-vmstat">vmstat</primary></indexterm>
  64. <para id="vmstat"><command>vmstat</command> reports virtual memory statistics, giving
  65. information about processes, memory, paging, block IO, traps, and CPU
  66. activity.</para>
  67. <indexterm zone="ch-system-procps w"><primary sortas="b-w">w</primary></indexterm>
  68. <para id="w"><command>w</command> shows which users are currently logged on,
  69. where and since when.</para>
  70. <indexterm zone="ch-system-procps watch"><primary sortas="b-watch">watch</primary></indexterm>
  71. <para id="watch"><command>watch</command> runs a given command repeatedly,
  72. displaying the first screen-full of its output. This allows you to watch the
  73. output change over time.</para>
  74. <indexterm zone="ch-system-procps libproc"><primary sortas="c-libproc">libproc</primary></indexterm>
  75. <para id="libproc"><command>libproc</command> contains the functions used by most
  76. programs in this package.</para>
  77. </sect2>
  78. </sect1>