123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194 |
- <?xml version="1.0" encoding="ISO-8859-1"?>
- <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
- <!ENTITY % general-entities SYSTEM "../general.ent">
- %general-entities;
- ]>
- <sect1 id="ch-system-procps" xreflabel="Procps" role="wrap">
- <title>Procps-&procps-version;</title>
- <?dbhtml filename="procps.html"?>
- <indexterm zone="ch-system-procps"><primary sortas="a-Procps">Procps</primary></indexterm>
- <sect2 role="package"><title/>
- <para>The Procps package contains programs for monitoring processes.</para>
- <segmentedlist>
- <segtitle>&buildtime;</segtitle>
- <segtitle>&diskspace;</segtitle>
- <seglistitem><seg>0.1 SBU</seg><seg>6.2 MB</seg></seglistitem>
- </segmentedlist>
- <segmentedlist>
- <segtitle>Procps installation depends on</segtitle>
- <seglistitem><seg>Bash, Binutils, Coreutils, GCC, Glibc,
- Make, Ncurses</seg></seglistitem>
- </segmentedlist>
- </sect2>
- <sect2 role="installation">
- <title>Installation of Procps</title>
- <para>Compile Procps:</para>
- <screen><userinput>make</userinput></screen>
- <para>Install it:</para>
- <screen><userinput>make install</userinput></screen>
- <para>Remove a spurious library link:</para>
- <screen><userinput>rm /lib/libproc.so</userinput></screen>
- </sect2>
- <sect2 id="contents-procps" role="content"><title>Contents of Procps</title>
- <segmentedlist>
- <segtitle>Installed programs</segtitle>
- <segtitle>Installed library</segtitle>
- <seglistitem><seg>free, kill, pgrep, pkill,
- pmap, ps, skill, snice, sysctl, tload, top, uptime, vmstat, w and watch</seg>
- <seg>libproc.so</seg></seglistitem>
- </segmentedlist>
- <variablelist><title>Short descriptions</title>
- <varlistentry id="free">
- <term><command>free</command></term>
- <listitem>
- <indexterm zone="ch-system-procps free"><primary sortas="b-free">free</primary></indexterm>
- <para>reports the amount of free and used memory
- in the system, both physical and swap memory.</para>
- </listitem>
- </varlistentry>
- <varlistentry id="kill">
- <term><command>kill</command></term>
- <listitem>
- <indexterm zone="ch-system-procps kill"><primary sortas="b-kill">kill</primary></indexterm>
- <para>is used to send signals to processes.</para>
- </listitem>
- </varlistentry>
- <varlistentry id="pgrep">
- <term><command>pgrep</command></term>
- <listitem>
- <indexterm zone="ch-system-procps pgrep"><primary sortas="b-pgrep">pgrep</primary></indexterm>
- <para>looks up processes based on their name and other attributes.</para>
- </listitem>
- </varlistentry>
- <varlistentry id="pkill">
- <term><command>pkill</command></term>
- <listitem>
- <indexterm zone="ch-system-procps pkill"><primary sortas="b-pkill">pkill</primary></indexterm>
- <para>signals processes based on their name and other attributes.</para>
- </listitem>
- </varlistentry>
- <varlistentry id="pmap">
- <term><command>pmap</command></term>
- <listitem>
- <indexterm zone="ch-system-procps pmap"><primary sortas="b-pmap">pmap</primary></indexterm>
- <para>reports the memory map of the given process.</para>
- </listitem>
- </varlistentry>
- <varlistentry id="ps">
- <term><command>ps</command></term>
- <listitem>
- <indexterm zone="ch-system-procps ps"><primary sortas="b-ps">ps</primary></indexterm>
- <para>gives a snapshot of the current processes.</para>
- </listitem>
- </varlistentry>
- <varlistentry id="skill">
- <term><command>skill</command></term>
- <listitem>
- <indexterm zone="ch-system-procps skill"><primary sortas="b-skill">skill</primary></indexterm>
- <para>sends signals to processes matching the given criteria.</para>
- </listitem>
- </varlistentry>
- <varlistentry id="snice">
- <term><command>snice</command></term>
- <listitem>
- <indexterm zone="ch-system-procps snice"><primary sortas="b-snice">snice</primary></indexterm>
- <para>changes the scheduling priority of processes matching the given criteria.</para>
- </listitem>
- </varlistentry>
- <varlistentry id="sysctl">
- <term><command>sysctl</command></term>
- <listitem>
- <indexterm zone="ch-system-procps sysctl"><primary sortas="b-sysctl">sysctl</primary></indexterm>
- <para>modifies kernel parameters at run time.</para>
- </listitem>
- </varlistentry>
- <varlistentry id="tload">
- <term><command>tload</command></term>
- <listitem>
- <indexterm zone="ch-system-procps tload"><primary sortas="b-tload">tload</primary></indexterm>
- <para>prints a graph of the current system load average.</para>
- </listitem>
- </varlistentry>
- <varlistentry id="top">
- <term><command>top</command></term>
- <listitem>
- <indexterm zone="ch-system-procps top"><primary sortas="b-top">top</primary></indexterm>
- <para>displays the top CPU processes. It provides
- an ongoing look at processor activity in real time.</para>
- </listitem>
- </varlistentry>
- <varlistentry id="uptime">
- <term><command>uptime</command></term>
- <listitem>
- <indexterm zone="ch-system-procps uptime"><primary sortas="b-uptime">uptime</primary></indexterm>
- <para>reports how long the system has been
- running, how many users are logged on, and the system load averages.</para>
- </listitem>
- </varlistentry>
- <varlistentry id="vmstat">
- <term><command>vmstat</command></term>
- <listitem>
- <indexterm zone="ch-system-procps vmstat"><primary sortas="b-vmstat">vmstat</primary></indexterm>
- <para>reports virtual memory statistics, giving information about processes,
- memory, paging, block IO, traps, and CPU activity.</para>
- </listitem>
- </varlistentry>
- <varlistentry id="w">
- <term><command>w</command></term>
- <listitem>
- <indexterm zone="ch-system-procps w"><primary sortas="b-w">w</primary></indexterm>
- <para>shows which users are currently logged on, where and since when.</para>
- </listitem>
- </varlistentry>
- <varlistentry id="watch">
- <term><command>watch</command></term>
- <listitem>
- <indexterm zone="ch-system-procps watch"><primary sortas="b-watch">watch</primary></indexterm>
- <para>runs a given command repeatedly, displaying the first screen-full of its
- output. This allows you to watch the output change over time.</para>
- </listitem>
- </varlistentry>
- <varlistentry id="libproc">
- <term><filename class="libraryfile">libproc</filename></term>
- <listitem>
- <indexterm zone="ch-system-procps libproc"><primary sortas="c-libproc">libproc</primary></indexterm>
- <para>contains the functions used by most programs in this package.</para>
- </listitem>
- </varlistentry>
- </variablelist>
- </sect2>
- </sect1>
|