[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 |
|
---|
[ea1a29e] | 42 | <para os="h">Move the <command>killall</command> and
|
---|
[794f16a] | 43 | <command>fuser</command> programs to the location specified by the
|
---|
| 44 | FHS:</para>
|
---|
| 45 |
|
---|
| 46 | <screen os="i"><userinput>mv -v /usr/bin/fuser /bin
|
---|
| 47 | mv -v /usr/bin/killall /bin</userinput></screen>
|
---|
| 48 |
|
---|
[3f8be484] | 49 | </sect2>
|
---|
| 50 |
|
---|
| 51 | <sect2 id="contents-psmisc" role="content">
|
---|
| 52 | <title>Contents of Psmisc</title>
|
---|
| 53 |
|
---|
| 54 | <segmentedlist>
|
---|
| 55 | <segtitle>Installed programs</segtitle>
|
---|
| 56 |
|
---|
| 57 | <seglistitem>
|
---|
[f698055a] | 58 | <seg>fuser, killall, peekfd, prtstat, pstree, pstree.x11
|
---|
[2b220db9] | 59 | (link to pstree)</seg>
|
---|
[3f8be484] | 60 | </seglistitem>
|
---|
| 61 | </segmentedlist>
|
---|
| 62 |
|
---|
| 63 | <variablelist>
|
---|
| 64 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 65 | <?dbfo list-presentation="list"?>
|
---|
| 66 | <?dbhtml list-presentation="table"?>
|
---|
| 67 |
|
---|
| 68 | <varlistentry id="fuser">
|
---|
| 69 | <term><command>fuser</command></term>
|
---|
| 70 | <listitem>
|
---|
| 71 | <para>Reports the Process IDs (PIDs) of processes that use the given
|
---|
| 72 | files or file systems</para>
|
---|
| 73 | <indexterm zone="ch-system-psmisc fuser">
|
---|
| 74 | <primary sortas="b-fuser">fuser</primary>
|
---|
| 75 | </indexterm>
|
---|
| 76 | </listitem>
|
---|
| 77 | </varlistentry>
|
---|
| 78 |
|
---|
| 79 | <varlistentry id="killall">
|
---|
| 80 | <term><command>killall</command></term>
|
---|
| 81 | <listitem>
|
---|
| 82 | <para>Kills processes by name; it sends a signal to all processes
|
---|
| 83 | running any of the given commands</para>
|
---|
| 84 | <indexterm zone="ch-system-psmisc killall">
|
---|
| 85 | <primary sortas="b-killall">killall</primary>
|
---|
| 86 | </indexterm>
|
---|
| 87 | </listitem>
|
---|
| 88 | </varlistentry>
|
---|
| 89 |
|
---|
[427015f] | 90 | <varlistentry id="peekfd">
|
---|
| 91 | <term><command>peekfd</command></term>
|
---|
| 92 | <listitem>
|
---|
| 93 | <para> Peeks at file descriptors of running processes</para>
|
---|
| 94 | <indexterm zone="ch-system-psmisc peekfd">
|
---|
| 95 | <primary sortas="b-peekfd">peekfd</primary>
|
---|
| 96 | </indexterm>
|
---|
| 97 | </listitem>
|
---|
| 98 | </varlistentry>
|
---|
| 99 |
|
---|
[2b220db9] | 100 | <varlistentry id="prtstat">
|
---|
| 101 | <term><command>prtstat</command></term>
|
---|
| 102 | <listitem>
|
---|
| 103 | <para>Prints information about a process</para>
|
---|
| 104 | <indexterm zone="ch-system-psmisc prtstat">
|
---|
| 105 | <primary sortas="b-prtstat">prtstat</primary>
|
---|
| 106 | </indexterm>
|
---|
| 107 | </listitem>
|
---|
| 108 | </varlistentry>
|
---|
| 109 |
|
---|
[3f8be484] | 110 | <varlistentry id="pstree">
|
---|
| 111 | <term><command>pstree</command></term>
|
---|
| 112 | <listitem>
|
---|
| 113 | <para>Displays running processes as a tree</para>
|
---|
| 114 | <indexterm zone="ch-system-psmisc pstree">
|
---|
| 115 | <primary sortas="b-pstree">pstree</primary>
|
---|
| 116 | </indexterm>
|
---|
| 117 | </listitem>
|
---|
| 118 | </varlistentry>
|
---|
| 119 |
|
---|
| 120 | <varlistentry id="pstree.x11">
|
---|
| 121 | <term><command>pstree.x11</command></term>
|
---|
| 122 | <listitem>
|
---|
| 123 | <para>Same as <command>pstree</command>, except that it waits for
|
---|
| 124 | confirmation before exiting</para>
|
---|
| 125 | <indexterm zone="ch-system-psmisc pstree.x11">
|
---|
| 126 | <primary sortas="b-pstree.x11">pstree.x11</primary>
|
---|
| 127 | </indexterm>
|
---|
| 128 | </listitem>
|
---|
| 129 | </varlistentry>
|
---|
| 130 |
|
---|
| 131 | </variablelist>
|
---|
| 132 |
|
---|
| 133 | </sect2>
|
---|
| 134 |
|
---|
| 135 | </sect1>
|
---|