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