[3f8be484] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[aa18ac0] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[3f8be484] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 | ]>
|
---|
| 7 |
|
---|
| 8 | <sect1 id="ch-system-psmisc" role="wrap">
|
---|
| 9 | <?dbhtml filename="psmisc.html"?>
|
---|
| 10 |
|
---|
| 11 | <title>Psmisc-&psmisc-version;</title>
|
---|
| 12 |
|
---|
| 13 | <indexterm zone="ch-system-psmisc">
|
---|
| 14 | <primary sortas="a-Psmisc">Psmisc</primary>
|
---|
| 15 | </indexterm>
|
---|
| 16 |
|
---|
| 17 | <sect2 role="package">
|
---|
| 18 | <title/>
|
---|
| 19 |
|
---|
| 20 | <para>The Psmisc package contains programs for displaying information
|
---|
| 21 | about running processes.</para>
|
---|
| 22 |
|
---|
| 23 | </sect2>
|
---|
| 24 |
|
---|
| 25 | <sect2 role="installation">
|
---|
| 26 | <title>Installation of Psmisc</title>
|
---|
| 27 |
|
---|
| 28 | <para os="a">Prepare Psmisc for compilation:</para>
|
---|
| 29 |
|
---|
[5dcf5b3a] | 30 | <screen os="b"><userinput>./configure --prefix=/usr</userinput></screen>
|
---|
[3f8be484] | 31 |
|
---|
[5dcf5b3a] | 32 | <para os="c">Compile the package:</para>
|
---|
[3f8be484] | 33 |
|
---|
[5dcf5b3a] | 34 | <screen os="d"><userinput>make</userinput></screen>
|
---|
[3f8be484] | 35 |
|
---|
[5dcf5b3a] | 36 | <para os="e">This package does not come with a test suite.</para>
|
---|
[d1631d1] | 37 |
|
---|
[5dcf5b3a] | 38 | <para os="f">Install the package:</para>
|
---|
[3f8be484] | 39 |
|
---|
[5dcf5b3a] | 40 | <screen os="g"><userinput>make install</userinput></screen>
|
---|
[3f8be484] | 41 |
|
---|
| 42 | </sect2>
|
---|
| 43 |
|
---|
| 44 | <sect2 id="contents-psmisc" role="content">
|
---|
| 45 | <title>Contents of Psmisc</title>
|
---|
| 46 |
|
---|
| 47 | <segmentedlist>
|
---|
| 48 | <segtitle>Installed programs</segtitle>
|
---|
| 49 |
|
---|
| 50 | <seglistitem>
|
---|
[2b220db9] | 51 | <seg>fuser, killall, peekfd, prtstat, pstree, and pstree.x11
|
---|
| 52 | (link to pstree)</seg>
|
---|
[3f8be484] | 53 | </seglistitem>
|
---|
| 54 | </segmentedlist>
|
---|
| 55 |
|
---|
| 56 | <variablelist>
|
---|
| 57 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 58 | <?dbfo list-presentation="list"?>
|
---|
| 59 | <?dbhtml list-presentation="table"?>
|
---|
| 60 |
|
---|
| 61 | <varlistentry id="fuser">
|
---|
| 62 | <term><command>fuser</command></term>
|
---|
| 63 | <listitem>
|
---|
| 64 | <para>Reports the Process IDs (PIDs) of processes that use the given
|
---|
| 65 | files or file systems</para>
|
---|
| 66 | <indexterm zone="ch-system-psmisc fuser">
|
---|
| 67 | <primary sortas="b-fuser">fuser</primary>
|
---|
| 68 | </indexterm>
|
---|
| 69 | </listitem>
|
---|
| 70 | </varlistentry>
|
---|
| 71 |
|
---|
| 72 | <varlistentry id="killall">
|
---|
| 73 | <term><command>killall</command></term>
|
---|
| 74 | <listitem>
|
---|
| 75 | <para>Kills processes by name; it sends a signal to all processes
|
---|
| 76 | running any of the given commands</para>
|
---|
| 77 | <indexterm zone="ch-system-psmisc killall">
|
---|
| 78 | <primary sortas="b-killall">killall</primary>
|
---|
| 79 | </indexterm>
|
---|
| 80 | </listitem>
|
---|
| 81 | </varlistentry>
|
---|
| 82 |
|
---|
[427015f] | 83 | <varlistentry id="peekfd">
|
---|
| 84 | <term><command>peekfd</command></term>
|
---|
| 85 | <listitem>
|
---|
| 86 | <para> Peeks at file descriptors of running processes</para>
|
---|
| 87 | <indexterm zone="ch-system-psmisc peekfd">
|
---|
| 88 | <primary sortas="b-peekfd">peekfd</primary>
|
---|
| 89 | </indexterm>
|
---|
| 90 | </listitem>
|
---|
| 91 | </varlistentry>
|
---|
| 92 |
|
---|
[2b220db9] | 93 | <varlistentry id="prtstat">
|
---|
| 94 | <term><command>prtstat</command></term>
|
---|
| 95 | <listitem>
|
---|
| 96 | <para>Prints information about a process</para>
|
---|
| 97 | <indexterm zone="ch-system-psmisc prtstat">
|
---|
| 98 | <primary sortas="b-prtstat">prtstat</primary>
|
---|
| 99 | </indexterm>
|
---|
| 100 | </listitem>
|
---|
| 101 | </varlistentry>
|
---|
| 102 |
|
---|
[3f8be484] | 103 | <varlistentry id="pstree">
|
---|
| 104 | <term><command>pstree</command></term>
|
---|
| 105 | <listitem>
|
---|
| 106 | <para>Displays running processes as a tree</para>
|
---|
| 107 | <indexterm zone="ch-system-psmisc pstree">
|
---|
| 108 | <primary sortas="b-pstree">pstree</primary>
|
---|
| 109 | </indexterm>
|
---|
| 110 | </listitem>
|
---|
| 111 | </varlistentry>
|
---|
| 112 |
|
---|
| 113 | <varlistentry id="pstree.x11">
|
---|
| 114 | <term><command>pstree.x11</command></term>
|
---|
| 115 | <listitem>
|
---|
| 116 | <para>Same as <command>pstree</command>, except that it waits for
|
---|
| 117 | confirmation before exiting</para>
|
---|
| 118 | <indexterm zone="ch-system-psmisc pstree.x11">
|
---|
| 119 | <primary sortas="b-pstree.x11">pstree.x11</primary>
|
---|
| 120 | </indexterm>
|
---|
| 121 | </listitem>
|
---|
| 122 | </varlistentry>
|
---|
| 123 |
|
---|
| 124 | </variablelist>
|
---|
| 125 |
|
---|
| 126 | </sect2>
|
---|
| 127 |
|
---|
| 128 | </sect1>
|
---|