Ignore:
Timestamp:
05/17/2004 09:55:01 PM (20 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 6.0, 6.1, 6.1.1, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
6f461cb
Parents:
01b2724c
Message:

HEAD: Retagged the Contents of ... sections.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3621 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter06/procps.xml

    r01b2724c rc6cb3aa  
    4444
    4545
    46 <sect2 id="contents-procps"><title>Contents of Procps</title>
     46<sect2 id="contents-procps" role="content"><title>Contents of Procps</title>
    4747
    48 <para><emphasis>Installed programs</emphasis>: free, kill, pgrep, pkill,
    49 pmap, ps, skill, snice, sysctl, tload, top, uptime, vmstat, w and watch</para>
     48<segmentedlist>
     49<segtitle>Installed programs</segtitle>
     50<segtitle>Installed library</segtitle>
     51<seglistitem><seg>free, kill, pgrep, pkill,
     52pmap, ps, skill, snice, sysctl, tload, top, uptime, vmstat, w and watch</seg>
     53<seg>libproc.so</seg></seglistitem>
     54</segmentedlist>
    5055
    51 <para><emphasis>Installed library</emphasis>: libproc.so</para>
     56<variablelist><title>Short descriptions</title>
     57
     58<varlistentry>
     59<term id="free"><command>free</command></term>
     60<listitem>
     61<indexterm zone="ch-system-procps free"><primary sortas="b-free">free</primary></indexterm>
     62<para>reports the amount of free and used memory
     63in the system, both physical and swap memory.</para>
     64</listitem>
     65</varlistentry>
     66
     67<varlistentry>
     68<term id="kill"><command>kill</command></term>
     69<listitem>
     70<indexterm zone="ch-system-procps kill"><primary sortas="b-kill">kill</primary></indexterm>
     71<para>is used to send signals to processes.</para>
     72</listitem>
     73</varlistentry>
     74
     75<varlistentry>
     76<term id="pgrep"><command>pgrep</command></term>
     77<listitem>
     78<indexterm zone="ch-system-procps pgrep"><primary sortas="b-pgrep">pgrep</primary></indexterm>
     79<para>looks up processes based on their name and other attributes.</para>
     80</listitem>
     81</varlistentry>
     82
     83<varlistentry>
     84<term id="pkill"><command>pkill</command></term>
     85<listitem>
     86<indexterm zone="ch-system-procps pkill"><primary sortas="b-pkill">pkill</primary></indexterm>
     87<para>signals processes based on their name and other attributes.</para>
     88</listitem>
     89</varlistentry>
     90
     91<varlistentry>
     92<term id="pmap"><command>pmap</command></term>
     93<listitem>
     94<indexterm zone="ch-system-procps pmap"><primary sortas="b-pmap">pmap</primary></indexterm>
     95<para>reports the memory map of the given process.</para>
     96</listitem>
     97</varlistentry>
     98
     99<varlistentry>
     100<term id="ps"><command>ps</command></term>
     101<listitem>
     102<indexterm zone="ch-system-procps ps"><primary sortas="b-ps">ps</primary></indexterm>
     103<para>gives a snapshot of the current processes.</para>
     104</listitem>
     105</varlistentry>
     106
     107<varlistentry>
     108<term id="skill"><command>skill</command></term>
     109<listitem>
     110<indexterm zone="ch-system-procps skill"><primary sortas="b-skill">skill</primary></indexterm>
     111<para>sends signals to processes matching the given criteria.</para>
     112</listitem>
     113</varlistentry>
     114
     115<varlistentry>
     116<term id="snice"><command>snice</command></term>
     117<listitem>
     118<indexterm zone="ch-system-procps snice"><primary sortas="b-snice">snice</primary></indexterm>
     119<para>changes the scheduling priority of processes matching the given criteria.</para>
     120</listitem>
     121</varlistentry>
     122
     123<varlistentry>
     124<term id="sysctl"><command>sysctl</command></term>
     125<listitem>
     126<indexterm zone="ch-system-procps sysctl"><primary sortas="b-sysctl">sysctl</primary></indexterm>
     127<para>modifies kernel parameters at run time.</para>
     128</listitem>
     129</varlistentry>
     130
     131<varlistentry>
     132<term id="tload"><command>tload</command></term>
     133<listitem>
     134<indexterm zone="ch-system-procps tload"><primary sortas="b-tload">tload</primary></indexterm>
     135<para>prints a graph of the current system load average.</para>
     136</listitem>
     137</varlistentry>
     138
     139<varlistentry>
     140<term id="top"><command>top</command></term>
     141<listitem>
     142<indexterm zone="ch-system-procps top"><primary sortas="b-top">top</primary></indexterm>
     143<para>displays the top CPU processes. It provides
     144an ongoing look at processor activity in real time.</para>
     145</listitem>
     146</varlistentry>
     147
     148<varlistentry>
     149<term id="uptime"><command>uptime</command></term>
     150<listitem>
     151<indexterm zone="ch-system-procps uptime"><primary sortas="b-uptime">uptime</primary></indexterm>
     152<para>reports how long the system has been
     153running, how many users are logged on, and the system load averages.</para>
     154</listitem>
     155</varlistentry>
     156
     157<varlistentry>
     158<term id="vmstat"><command>vmstat</command></term>
     159<listitem>
     160<indexterm zone="ch-system-procps vmstat"><primary sortas="b-vmstat">vmstat</primary></indexterm>
     161<para>reports virtual memory statistics, giving information about processes,
     162memory, paging, block IO, traps, and CPU activity.</para>
     163</listitem>
     164</varlistentry>
     165
     166<varlistentry>
     167<term id="w"><command>w</command></term>
     168<listitem>
     169<indexterm zone="ch-system-procps w"><primary sortas="b-w">w</primary></indexterm>
     170<para>shows which users are currently logged on, where and since when.</para>
     171</listitem>
     172</varlistentry>
     173
     174<varlistentry>
     175<term id="watch"><command>watch</command></term>
     176<listitem>
     177<indexterm zone="ch-system-procps watch"><primary sortas="b-watch">watch</primary></indexterm>
     178<para>runs a given command repeatedly, displaying the first screen-full of its
     179output. This allows you to watch the output change over time.</para>
     180</listitem>
     181</varlistentry>
     182
     183<varlistentry>
     184<term id="libproc"><command>libproc</command></term>
     185<listitem>
     186<indexterm zone="ch-system-procps libproc"><primary sortas="c-libproc">libproc</primary></indexterm>
     187<para>contains the functions used by most programs in this package.</para>
     188</listitem>
     189</varlistentry>
     190</variablelist>
    52191
    53192</sect2>
    54193
    55 
    56 <sect2><title>Short descriptions</title>
    57 
    58 <indexterm zone="ch-system-procps free"><primary sortas="b-free">free</primary></indexterm>
    59 <para id="free"><command>free</command> reports the amount of free and used memory
    60 in the system, both physical and swap memory.</para>
    61 
    62 <indexterm zone="ch-system-procps kill"><primary sortas="b-kill">kill</primary></indexterm>
    63 <para id="kill"><command>kill</command> is used to send signals to processes.</para>
    64 
    65 <indexterm zone="ch-system-procps pgrep"><primary sortas="b-pgrep">pgrep</primary></indexterm>
    66 <para id="pgrep"><command>pgrep</command> looks up processes based on their name
    67 and other attributes.</para>
    68 
    69 <indexterm zone="ch-system-procps pkill"><primary sortas="b-pkill">pkill</primary></indexterm>
    70 <para id="pkill"><command>pkill</command> signals processes based on their name
    71 and other attributes.</para>
    72 
    73 <indexterm zone="ch-system-procps pmap"><primary sortas="b-pmap">pmap</primary></indexterm>
    74 <para id="pmap"><command>pmap</command> reports the memory map of the given
    75 process.</para>
    76 
    77 <indexterm zone="ch-system-procps ps"><primary sortas="b-ps">ps</primary></indexterm>
    78 <para id="ps"><command>ps</command> gives a snapshot of the current processes.</para>
    79 
    80 <indexterm zone="ch-system-procps skill"><primary sortas="b-skill">skill</primary></indexterm>
    81 <para id="skill"><command>skill</command> sends signals to processes matching the
    82 given criteria.</para>
    83 
    84 <indexterm zone="ch-system-procps snice"><primary sortas="b-snice">snice</primary></indexterm>
    85 <para id="snice"><command>snice</command> changes the scheduling priority of processes
    86 matching the given criteria.</para>
    87 
    88 <indexterm zone="ch-system-procps sysctl"><primary sortas="b-sysctl">sysctl</primary></indexterm>
    89 <para id="sysctl"><command>sysctl</command> modifies kernel parameters at run time.</para>
    90 
    91 <indexterm zone="ch-system-procps tload"><primary sortas="b-tload">tload</primary></indexterm>
    92 <para id="tload"><command>tload</command> prints a graph of the current system load
    93 average.</para>
    94 
    95 <indexterm zone="ch-system-procps top"><primary sortas="b-top">top</primary></indexterm>
    96 <para id="top"><command>top</command> displays the top CPU processes. It provides
    97 an ongoing look at processor activity in real time.</para>
    98 
    99 <indexterm zone="ch-system-procps uptime"><primary sortas="b-uptime">uptime</primary></indexterm>
    100 <para id="uptime"><command>uptime</command> reports how long the system has been
    101 running, how many users are logged on, and the system load averages.</para>
    102 
    103 <indexterm zone="ch-system-procps vmstat"><primary sortas="b-vmstat">vmstat</primary></indexterm>
    104 <para id="vmstat"><command>vmstat</command> reports virtual memory statistics, giving
    105 information about processes, memory, paging, block IO, traps, and CPU
    106 activity.</para>
    107 
    108 <indexterm zone="ch-system-procps w"><primary sortas="b-w">w</primary></indexterm>
    109 <para id="w"><command>w</command> shows which users are currently logged on,
    110 where and since when.</para>
    111 
    112 <indexterm zone="ch-system-procps watch"><primary sortas="b-watch">watch</primary></indexterm>
    113 <para id="watch"><command>watch</command> runs a given command repeatedly,
    114 displaying the first screen-full of its output. This allows you to watch the
    115 output change over time.</para>
    116 
    117 <indexterm zone="ch-system-procps libproc"><primary sortas="c-libproc">libproc</primary></indexterm>
    118 <para id="libproc"><command>libproc</command> contains the functions used by most
    119 programs in this package.</para>
    120 
    121 </sect2>
    122 
    123 
    124 
    125194</sect1>
Note: See TracChangeset for help on using the changeset viewer.