2024-01-18 19:53:23 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2007-03-21 18:42:58 +00:00
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
2004-05-03 11:59:46 +01:00
|
|
|
<!ENTITY % general-entities SYSTEM "../general.ent">
|
|
|
|
%general-entities;
|
|
|
|
]>
|
2006-02-07 19:39:29 +00:00
|
|
|
|
2005-02-19 22:16:42 +00:00
|
|
|
<sect1 id="ch-system-psmisc" role="wrap">
|
2006-02-07 19:39:29 +00:00
|
|
|
<?dbhtml filename="psmisc.html"?>
|
|
|
|
|
2007-09-07 20:16:43 +01:00
|
|
|
<sect1info condition="script">
|
|
|
|
<productname>psmisc</productname>
|
|
|
|
<productnumber>&psmisc-version;</productnumber>
|
|
|
|
<address>&psmisc-url;</address>
|
|
|
|
</sect1info>
|
|
|
|
|
2006-02-07 19:39:29 +00:00
|
|
|
<title>Psmisc-&psmisc-version;</title>
|
|
|
|
|
|
|
|
<indexterm zone="ch-system-psmisc">
|
|
|
|
<primary sortas="a-Psmisc">Psmisc</primary>
|
|
|
|
</indexterm>
|
|
|
|
|
|
|
|
<sect2 role="package">
|
|
|
|
<title/>
|
2004-05-03 11:59:46 +01:00
|
|
|
|
2006-02-07 19:39:29 +00:00
|
|
|
<para>The Psmisc package contains programs for displaying information about
|
|
|
|
running processes.</para>
|
2001-01-24 00:31:17 +00:00
|
|
|
|
2006-02-07 19:39:29 +00:00
|
|
|
<segmentedlist>
|
|
|
|
<segtitle>&buildtime;</segtitle>
|
|
|
|
<segtitle>&diskspace;</segtitle>
|
2004-01-12 23:23:50 +00:00
|
|
|
|
2006-02-07 19:39:29 +00:00
|
|
|
<seglistitem>
|
2020-06-11 13:55:28 +01:00
|
|
|
<seg>&psmisc-fin-sbu;</seg>
|
|
|
|
<seg>&psmisc-fin-du;</seg>
|
2006-02-07 19:39:29 +00:00
|
|
|
</seglistitem>
|
|
|
|
</segmentedlist>
|
2004-05-03 11:59:46 +01:00
|
|
|
|
2006-02-07 19:39:29 +00:00
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="installation">
|
|
|
|
<title>Installation of Psmisc</title>
|
|
|
|
|
|
|
|
<para>Prepare Psmisc for compilation:</para>
|
2003-11-01 22:31:50 +00:00
|
|
|
|
2009-09-29 20:15:10 +01:00
|
|
|
<screen><userinput remap="configure">./configure --prefix=/usr</userinput></screen>
|
2006-02-07 19:39:29 +00:00
|
|
|
|
|
|
|
<para>Compile the package:</para>
|
2003-11-01 22:31:50 +00:00
|
|
|
|
2007-09-18 22:11:00 +01:00
|
|
|
<screen><userinput remap="make">make</userinput></screen>
|
2003-11-01 22:31:50 +00:00
|
|
|
|
2023-05-03 04:21:54 +01:00
|
|
|
<para>To run the test suite, run:</para>
|
|
|
|
|
|
|
|
<screen><userinput remap="test">make check</userinput></screen>
|
2005-12-07 20:46:14 +00:00
|
|
|
|
2006-02-07 19:39:29 +00:00
|
|
|
<para>Install the package:</para>
|
2003-11-01 22:31:50 +00:00
|
|
|
|
2007-09-18 22:11:00 +01:00
|
|
|
<screen><userinput remap="install">make install</userinput></screen>
|
2003-11-01 22:31:50 +00:00
|
|
|
|
2006-02-07 19:39:29 +00:00
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 id="contents-psmisc" role="content">
|
|
|
|
<title>Contents of Psmisc</title>
|
|
|
|
|
|
|
|
<segmentedlist>
|
|
|
|
<segtitle>Installed programs</segtitle>
|
|
|
|
|
|
|
|
<seglistitem>
|
2019-03-13 17:58:54 +00:00
|
|
|
<seg>fuser, killall, peekfd, prtstat, pslog, pstree, and pstree.x11 (link to pstree)</seg>
|
2006-02-07 19:39:29 +00:00
|
|
|
</seglistitem>
|
|
|
|
</segmentedlist>
|
|
|
|
|
|
|
|
<variablelist>
|
|
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
|
|
<?dbfo list-presentation="list"?>
|
|
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
|
|
|
|
<varlistentry id="fuser">
|
|
|
|
<term><command>fuser</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>Reports the Process IDs (PIDs) of processes that use the given
|
|
|
|
files or file systems</para>
|
|
|
|
<indexterm zone="ch-system-psmisc fuser">
|
|
|
|
<primary sortas="b-fuser">fuser</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="killall">
|
|
|
|
<term><command>killall</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>Kills processes by name; it sends a signal to all processes
|
|
|
|
running any of the given commands</para>
|
|
|
|
<indexterm zone="ch-system-psmisc killall">
|
|
|
|
<primary sortas="b-killall">killall</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
2007-05-12 21:45:29 +01:00
|
|
|
<varlistentry id="peekfd">
|
|
|
|
<term><command>peekfd</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>Peek at file descriptors of a running process, given its
|
|
|
|
PID</para>
|
|
|
|
<indexterm zone="ch-system-psmisc peekfd">
|
|
|
|
<primary sortas="b-peekfd">peekfd</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
2010-06-27 04:23:30 +01:00
|
|
|
<varlistentry id="prtstat">
|
|
|
|
<term><command>prtstat</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>Prints information about a process</para>
|
|
|
|
<indexterm zone="ch-system-psmisc prtstat">
|
|
|
|
<primary sortas="b-prtstat">prtstat</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
2019-03-13 17:58:54 +00:00
|
|
|
<varlistentry id="pslog">
|
|
|
|
<term><command>pslog</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>Reports current logs path of a process</para>
|
|
|
|
<indexterm zone="ch-system-psmisc pslog">
|
|
|
|
<primary sortas="b-pslog">pslog</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
2006-02-07 19:39:29 +00:00
|
|
|
<varlistentry id="pstree">
|
|
|
|
<term><command>pstree</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>Displays running processes as a tree</para>
|
|
|
|
<indexterm zone="ch-system-psmisc pstree">
|
|
|
|
<primary sortas="b-pstree">pstree</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="pstree.x11">
|
|
|
|
<term><command>pstree.x11</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>Same as <command>pstree</command>, except that it waits for
|
|
|
|
confirmation before exiting</para>
|
|
|
|
<indexterm zone="ch-system-psmisc pstree.x11">
|
|
|
|
<primary sortas="b-pstree.x11">pstree.x11</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
</variablelist>
|
|
|
|
|
|
|
|
</sect2>
|
2004-05-03 11:59:46 +01:00
|
|
|
|
|
|
|
</sect1>
|