Ignore:
Timestamp:
05/03/2004 10:59:46 AM (20 years ago)
Author:
Matthew Burgess <matthew@…>
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, v5_1, v5_1_1, 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:
0c43171, 2ec64b3, a4a675f
Parents:
287ea55
Message:
  • Merged newxml into HEAD

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter06/procps.xml

    r287ea55 r673b0d8  
     1<?xml version="1.0" encoding="ISO-8859-1"?>
     2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
     3  <!ENTITY % general-entities SYSTEM "../general.ent">
     4  %general-entities;
     5]>
    16<sect1 id="ch-system-procps" xreflabel="Procps">
    2 <title>Installing Procps-&procps-version;</title>
    3 <?dbhtml filename="procps.html" dir="chapter06"?>
     7<title>Procps-&procps-version;</title>
     8<?dbhtml filename="procps.html"?>
     9
     10<indexterm zone="ch-system-procps"><primary sortas="a-Procps">Procps</primary></indexterm>
    411
    512<para>The Procps package contains programs for monitoring processes.</para>
    613
    7 <screen>&buildtime; &procps-time;
    8 &diskspace; &procps-compsize;</screen>
     14<screen>&buildtime; 0.1 SBU
     15&diskspace; 6.2 MB</screen>
    916
    10 &aa-procps-down;
    11 &aa-procps-dep;
     17<para>Procps installation depends on: Bash, Binutils, Coreutils, GCC, Glibc,
     18Make, Ncurses.</para>
    1219
    13 <sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
     20
    1421
    1522<sect2>
     
    2431<screen><userinput>make install</userinput></screen>
    2532
    26 <para>And remove a spurious library link:</para>
     33<para>Remove a spurious library link:</para>
    2734
    2835<screen><userinput>rm /lib/libproc.so</userinput></screen>
     
    3037</sect2>
    3138
    32 &aa-procps-shortdesc;
    33 &aa-procps-desc;
     39
     40<sect2 id="contents-procps"><title>Contents of Procps</title>
     41
     42<para><emphasis>Installed programs</emphasis>: free, kill, pgrep, pkill,
     43pmap, ps, skill, snice, sysctl, tload, top, uptime, vmstat, w and watch</para>
     44
     45<para><emphasis>Installed library</emphasis>: libproc.so</para>
     46
     47</sect2>
     48
     49
     50<sect2><title>Short descriptions</title>
     51
     52<indexterm zone="ch-system-procps free"><primary sortas="b-free">free</primary></indexterm>
     53<para id="free"><command>free</command> reports the amount of free and used memory
     54in the system, both physical and swap memory.</para>
     55
     56<indexterm zone="ch-system-procps kill"><primary sortas="b-kill">kill</primary></indexterm>
     57<para id="kill"><command>kill</command> is used to send signals to processes.</para>
     58
     59<indexterm zone="ch-system-procps pgrep"><primary sortas="b-pgrep">pgrep</primary></indexterm>
     60<para id="pgrep"><command>pgrep</command> looks up processes based on their name
     61and other attributes.</para>
     62
     63<indexterm zone="ch-system-procps pkill"><primary sortas="b-pkill">pkill</primary></indexterm>
     64<para id="pkill"><command>pkill</command> signals processes based on their name
     65and other attributes.</para>
     66
     67<indexterm zone="ch-system-procps pmap"><primary sortas="b-pmap">pmap</primary></indexterm>
     68<para id="pmap"><command>pmap</command> reports the memory map of the given
     69process.</para>
     70
     71<indexterm zone="ch-system-procps ps"><primary sortas="b-ps">ps</primary></indexterm>
     72<para id="ps"><command>ps</command> gives a snapshot of the current processes.</para>
     73
     74<indexterm zone="ch-system-procps skill"><primary sortas="b-skill">skill</primary></indexterm>
     75<para id="skill"><command>skill</command> sends signals to processes matching the
     76given criteria.</para>
     77
     78<indexterm zone="ch-system-procps snice"><primary sortas="b-snice">snice</primary></indexterm>
     79<para id="snice"><command>snice</command> changes the scheduling priority of processes
     80matching the given criteria.</para>
     81
     82<indexterm zone="ch-system-procps sysctl"><primary sortas="b-sysctl">sysctl</primary></indexterm>
     83<para id="sysctl"><command>sysctl</command> modifies kernel parameters at run time.</para>
     84
     85<indexterm zone="ch-system-procps tload"><primary sortas="b-tload">tload</primary></indexterm>
     86<para id="tload"><command>tload</command> prints a graph of the current system load
     87average.</para>
     88
     89<indexterm zone="ch-system-procps top"><primary sortas="b-top">top</primary></indexterm>
     90<para id="top"><command>top</command> displays the top CPU processes. It provides
     91an ongoing look at processor activity in real time.</para>
     92
     93<indexterm zone="ch-system-procps uptime"><primary sortas="b-uptime">uptime</primary></indexterm>
     94<para id="uptime"><command>uptime</command> reports how long the system has been
     95running, how many users are logged on, and the system load averages.</para>
     96
     97<indexterm zone="ch-system-procps vmstat"><primary sortas="b-vmstat">vmstat</primary></indexterm>
     98<para id="vmstat"><command>vmstat</command> reports virtual memory statistics, giving
     99information about processes, memory, paging, block IO, traps, and CPU
     100activity.</para>
     101
     102<indexterm zone="ch-system-procps w"><primary sortas="b-w">w</primary></indexterm>
     103<para id="w"><command>w</command> shows which users are currently logged on,
     104where and since when.</para>
     105
     106<indexterm zone="ch-system-procps watch"><primary sortas="b-watch">watch</primary></indexterm>
     107<para id="watch"><command>watch</command> runs a given command repeatedly,
     108displaying the first screen-full of its output. This allows you to watch the
     109output change over time.</para>
     110
     111<indexterm zone="ch-system-procps libproc"><primary sortas="c-libproc">libproc</primary></indexterm>
     112<para id="libproc"><command>libproc</command> contains the functions used by most
     113programs in this package.</para>
     114
     115</sect2>
     116
     117
    34118
    35119</sect1>
    36 
Note: See TracChangeset for help on using the changeset viewer.