psmisc.xml 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  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-psmisc" role="wrap">
  8. <?dbhtml filename="psmisc.html"?>
  9. <sect1info condition="script">
  10. <productname>psmisc</productname>
  11. <productnumber>&psmisc-version;</productnumber>
  12. <address>&psmisc-url;</address>
  13. </sect1info>
  14. <title>Psmisc-&psmisc-version;</title>
  15. <indexterm zone="ch-system-psmisc">
  16. <primary sortas="a-Psmisc">Psmisc</primary>
  17. </indexterm>
  18. <sect2 role="package">
  19. <title/>
  20. <para>The Psmisc package contains programs for displaying information about
  21. running processes.</para>
  22. <segmentedlist>
  23. <segtitle>&buildtime;</segtitle>
  24. <segtitle>&diskspace;</segtitle>
  25. <seglistitem>
  26. <seg>&psmisc-ch6-sbu;</seg>
  27. <seg>&psmisc-ch6-du;</seg>
  28. </seglistitem>
  29. </segmentedlist>
  30. </sect2>
  31. <sect2 role="installation">
  32. <title>Installation of Psmisc</title>
  33. <para>Prepare Psmisc for compilation:</para>
  34. <screen><userinput remap="configure">./configure --prefix=/usr</userinput></screen>
  35. <para>Compile the package:</para>
  36. <screen><userinput remap="make">make</userinput></screen>
  37. <para>This package does not come with a test suite.</para>
  38. <para>Install the package:</para>
  39. <screen><userinput remap="install">make install</userinput></screen>
  40. <para>Finally, move the <command>killall</command> and <command>fuser</command>
  41. programs to the location specified by the FHS:</para>
  42. <screen><userinput remap="install">mv -v /usr/bin/fuser /bin
  43. mv -v /usr/bin/killall /bin</userinput></screen>
  44. </sect2>
  45. <sect2 id="contents-psmisc" role="content">
  46. <title>Contents of Psmisc</title>
  47. <segmentedlist>
  48. <segtitle>Installed programs</segtitle>
  49. <seglistitem>
  50. <seg>fuser, killall, peekfd, prtstat, pstree, and pstree.x11 (link to pstree)</seg>
  51. </seglistitem>
  52. </segmentedlist>
  53. <variablelist>
  54. <bridgehead renderas="sect3">Short Descriptions</bridgehead>
  55. <?dbfo list-presentation="list"?>
  56. <?dbhtml list-presentation="table"?>
  57. <varlistentry id="fuser">
  58. <term><command>fuser</command></term>
  59. <listitem>
  60. <para>Reports the Process IDs (PIDs) of processes that use the given
  61. files or file systems</para>
  62. <indexterm zone="ch-system-psmisc fuser">
  63. <primary sortas="b-fuser">fuser</primary>
  64. </indexterm>
  65. </listitem>
  66. </varlistentry>
  67. <varlistentry id="killall">
  68. <term><command>killall</command></term>
  69. <listitem>
  70. <para>Kills processes by name; it sends a signal to all processes
  71. running any of the given commands</para>
  72. <indexterm zone="ch-system-psmisc killall">
  73. <primary sortas="b-killall">killall</primary>
  74. </indexterm>
  75. </listitem>
  76. </varlistentry>
  77. <varlistentry id="peekfd">
  78. <term><command>peekfd</command></term>
  79. <listitem>
  80. <para>Peek at file descriptors of a running process, given its
  81. PID</para>
  82. <indexterm zone="ch-system-psmisc peekfd">
  83. <primary sortas="b-peekfd">peekfd</primary>
  84. </indexterm>
  85. </listitem>
  86. </varlistentry>
  87. <varlistentry id="prtstat">
  88. <term><command>prtstat</command></term>
  89. <listitem>
  90. <para>Prints information about a process</para>
  91. <indexterm zone="ch-system-psmisc prtstat">
  92. <primary sortas="b-prtstat">prtstat</primary>
  93. </indexterm>
  94. </listitem>
  95. </varlistentry>
  96. <varlistentry id="pstree">
  97. <term><command>pstree</command></term>
  98. <listitem>
  99. <para>Displays running processes as a tree</para>
  100. <indexterm zone="ch-system-psmisc pstree">
  101. <primary sortas="b-pstree">pstree</primary>
  102. </indexterm>
  103. </listitem>
  104. </varlistentry>
  105. <varlistentry id="pstree.x11">
  106. <term><command>pstree.x11</command></term>
  107. <listitem>
  108. <para>Same as <command>pstree</command>, except that it waits for
  109. confirmation before exiting</para>
  110. <indexterm zone="ch-system-psmisc pstree.x11">
  111. <primary sortas="b-pstree.x11">pstree.x11</primary>
  112. </indexterm>
  113. </listitem>
  114. </varlistentry>
  115. </variablelist>
  116. </sect2>
  117. </sect1>