source: BOOK/final-system/common/psmisc.xml @ 99b6ce1

sysvinit
Last change on this file since 99b6ce1 was 99b6ce1, checked in by William Harrington <kb0iic@…>, 9 years ago

Move fuser and killall to /bin per the FHS.

  • Property mode set to 100644
File size: 4.0 KB
Line 
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
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
30<screen os="b"><userinput>./configure --prefix=/usr</userinput></screen>
31
32    <para os="c">Compile the package:</para>
33
34<screen os="d"><userinput>make</userinput></screen>
35
36    <para os="e">This package does not come with a test suite.</para>
37
38    <para os="f">Install the package:</para>
39
40<screen os="g"><userinput>make install</userinput></screen>
41
42    <para os="h">Move the <command>killall></command> and
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
47mv -v /usr/bin/killall /bin</userinput></screen>
48
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>
58        <seg>fuser, killall, peekfd, prtstat, pstree, pstree.x11
59        (link to pstree)</seg>
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
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
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
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>
Note: See TracBrowser for help on using the repository browser.