[7152faa] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
[b06ca36] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[673b0d8] | 4 | <!ENTITY % general-entities SYSTEM "../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 | ]>
|
---|
[3f3931b0] | 7 |
|
---|
[81fd230] | 8 | <sect1 id="ch-system-psmisc" role="wrap">
|
---|
[3f3931b0] | 9 | <?dbhtml filename="psmisc.html"?>
|
---|
| 10 |
|
---|
[e747759] | 11 | <sect1info condition="script">
|
---|
| 12 | <productname>psmisc</productname>
|
---|
| 13 | <productnumber>&psmisc-version;</productnumber>
|
---|
| 14 | <address>&psmisc-url;</address>
|
---|
| 15 | </sect1info>
|
---|
| 16 |
|
---|
[3f3931b0] | 17 | <title>Psmisc-&psmisc-version;</title>
|
---|
| 18 |
|
---|
| 19 | <indexterm zone="ch-system-psmisc">
|
---|
| 20 | <primary sortas="a-Psmisc">Psmisc</primary>
|
---|
| 21 | </indexterm>
|
---|
| 22 |
|
---|
| 23 | <sect2 role="package">
|
---|
| 24 | <title/>
|
---|
[673b0d8] | 25 |
|
---|
[3f3931b0] | 26 | <para>The Psmisc package contains programs for displaying information about
|
---|
| 27 | running processes.</para>
|
---|
[6370fa6] | 28 |
|
---|
[3f3931b0] | 29 | <segmentedlist>
|
---|
| 30 | <segtitle>&buildtime;</segtitle>
|
---|
| 31 | <segtitle>&diskspace;</segtitle>
|
---|
[5888299] | 32 |
|
---|
[3f3931b0] | 33 | <seglistitem>
|
---|
[fb386e0] | 34 | <seg>&psmisc-fin-sbu;</seg>
|
---|
| 35 | <seg>&psmisc-fin-du;</seg>
|
---|
[3f3931b0] | 36 | </seglistitem>
|
---|
| 37 | </segmentedlist>
|
---|
[673b0d8] | 38 |
|
---|
[3f3931b0] | 39 | </sect2>
|
---|
| 40 |
|
---|
| 41 | <sect2 role="installation">
|
---|
| 42 | <title>Installation of Psmisc</title>
|
---|
| 43 |
|
---|
| 44 | <para>Prepare Psmisc for compilation:</para>
|
---|
[73aedd1d] | 45 |
|
---|
[1b25750c] | 46 | <screen><userinput remap="configure">./configure --prefix=/usr</userinput></screen>
|
---|
[3f3931b0] | 47 |
|
---|
| 48 | <para>Compile the package:</para>
|
---|
[73aedd1d] | 49 |
|
---|
[0445a3d] | 50 | <screen><userinput remap="make">make</userinput></screen>
|
---|
[73aedd1d] | 51 |
|
---|
[80512567] | 52 | <para>To run the test suite, run:</para>
|
---|
| 53 |
|
---|
| 54 | <screen><userinput remap="test">make check</userinput></screen>
|
---|
[0be3d41] | 55 |
|
---|
[3f3931b0] | 56 | <para>Install the package:</para>
|
---|
[73aedd1d] | 57 |
|
---|
[0445a3d] | 58 | <screen><userinput remap="install">make install</userinput></screen>
|
---|
[73aedd1d] | 59 |
|
---|
[3f3931b0] | 60 | </sect2>
|
---|
| 61 |
|
---|
| 62 | <sect2 id="contents-psmisc" role="content">
|
---|
| 63 | <title>Contents of Psmisc</title>
|
---|
| 64 |
|
---|
| 65 | <segmentedlist>
|
---|
| 66 | <segtitle>Installed programs</segtitle>
|
---|
| 67 |
|
---|
| 68 | <seglistitem>
|
---|
[78cc3be] | 69 | <seg>fuser, killall, peekfd, prtstat, pslog, pstree, and pstree.x11 (link to pstree)</seg>
|
---|
[3f3931b0] | 70 | </seglistitem>
|
---|
| 71 | </segmentedlist>
|
---|
| 72 |
|
---|
| 73 | <variablelist>
|
---|
| 74 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 75 | <?dbfo list-presentation="list"?>
|
---|
| 76 | <?dbhtml list-presentation="table"?>
|
---|
| 77 |
|
---|
| 78 | <varlistentry id="fuser">
|
---|
| 79 | <term><command>fuser</command></term>
|
---|
| 80 | <listitem>
|
---|
| 81 | <para>Reports the Process IDs (PIDs) of processes that use the given
|
---|
| 82 | files or file systems</para>
|
---|
| 83 | <indexterm zone="ch-system-psmisc fuser">
|
---|
| 84 | <primary sortas="b-fuser">fuser</primary>
|
---|
| 85 | </indexterm>
|
---|
| 86 | </listitem>
|
---|
| 87 | </varlistentry>
|
---|
| 88 |
|
---|
| 89 | <varlistentry id="killall">
|
---|
| 90 | <term><command>killall</command></term>
|
---|
| 91 | <listitem>
|
---|
| 92 | <para>Kills processes by name; it sends a signal to all processes
|
---|
| 93 | running any of the given commands</para>
|
---|
| 94 | <indexterm zone="ch-system-psmisc killall">
|
---|
| 95 | <primary sortas="b-killall">killall</primary>
|
---|
| 96 | </indexterm>
|
---|
| 97 | </listitem>
|
---|
| 98 | </varlistentry>
|
---|
| 99 |
|
---|
[2791a8e] | 100 | <varlistentry id="peekfd">
|
---|
| 101 | <term><command>peekfd</command></term>
|
---|
| 102 | <listitem>
|
---|
| 103 | <para>Peek at file descriptors of a running process, given its
|
---|
| 104 | PID</para>
|
---|
| 105 | <indexterm zone="ch-system-psmisc peekfd">
|
---|
| 106 | <primary sortas="b-peekfd">peekfd</primary>
|
---|
| 107 | </indexterm>
|
---|
| 108 | </listitem>
|
---|
| 109 | </varlistentry>
|
---|
| 110 |
|
---|
[9d42ad9] | 111 | <varlistentry id="prtstat">
|
---|
| 112 | <term><command>prtstat</command></term>
|
---|
| 113 | <listitem>
|
---|
| 114 | <para>Prints information about a process</para>
|
---|
| 115 | <indexterm zone="ch-system-psmisc prtstat">
|
---|
| 116 | <primary sortas="b-prtstat">prtstat</primary>
|
---|
| 117 | </indexterm>
|
---|
| 118 | </listitem>
|
---|
| 119 | </varlistentry>
|
---|
| 120 |
|
---|
[78cc3be] | 121 | <varlistentry id="pslog">
|
---|
| 122 | <term><command>pslog</command></term>
|
---|
| 123 | <listitem>
|
---|
| 124 | <para>Reports current logs path of a process</para>
|
---|
| 125 | <indexterm zone="ch-system-psmisc pslog">
|
---|
| 126 | <primary sortas="b-pslog">pslog</primary>
|
---|
| 127 | </indexterm>
|
---|
| 128 | </listitem>
|
---|
| 129 | </varlistentry>
|
---|
| 130 |
|
---|
[3f3931b0] | 131 | <varlistentry id="pstree">
|
---|
| 132 | <term><command>pstree</command></term>
|
---|
| 133 | <listitem>
|
---|
| 134 | <para>Displays running processes as a tree</para>
|
---|
| 135 | <indexterm zone="ch-system-psmisc pstree">
|
---|
| 136 | <primary sortas="b-pstree">pstree</primary>
|
---|
| 137 | </indexterm>
|
---|
| 138 | </listitem>
|
---|
| 139 | </varlistentry>
|
---|
| 140 |
|
---|
| 141 | <varlistentry id="pstree.x11">
|
---|
| 142 | <term><command>pstree.x11</command></term>
|
---|
| 143 | <listitem>
|
---|
| 144 | <para>Same as <command>pstree</command>, except that it waits for
|
---|
| 145 | confirmation before exiting</para>
|
---|
| 146 | <indexterm zone="ch-system-psmisc pstree.x11">
|
---|
| 147 | <primary sortas="b-pstree.x11">pstree.x11</primary>
|
---|
| 148 | </indexterm>
|
---|
| 149 | </listitem>
|
---|
| 150 | </varlistentry>
|
---|
| 151 |
|
---|
| 152 | </variablelist>
|
---|
| 153 |
|
---|
| 154 | </sect2>
|
---|
[673b0d8] | 155 |
|
---|
| 156 | </sect1>
|
---|