Changeset 673b0d8 for chapter06/procps.xml
- Timestamp:
- 05/03/2004 10:59:46 AM (20 years ago)
- 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
- 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 ]> 1 6 <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> 4 11 5 12 <para>The Procps package contains programs for monitoring processes.</para> 6 13 7 <screen>&buildtime; &procps-time;8 &diskspace; &procps-compsize;</screen>14 <screen>&buildtime; 0.1 SBU 15 &diskspace; 6.2 MB</screen> 9 16 10 &aa-procps-down; 11 &aa-procps-dep; 17 <para>Procps installation depends on: Bash, Binutils, Coreutils, GCC, Glibc, 18 Make, Ncurses.</para> 12 19 13 <sect2><title> </title><para> </para></sect2> 20 14 21 15 22 <sect2> … … 24 31 <screen><userinput>make install</userinput></screen> 25 32 26 <para> And remove a spurious library link:</para>33 <para>Remove a spurious library link:</para> 27 34 28 35 <screen><userinput>rm /lib/libproc.so</userinput></screen> … … 30 37 </sect2> 31 38 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, 43 pmap, 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 54 in 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 61 and 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 65 and 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 69 process.</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 76 given 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 80 matching 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 87 average.</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 91 an 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 95 running, 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 99 information about processes, memory, paging, block IO, traps, and CPU 100 activity.</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, 104 where 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, 108 displaying the first screen-full of its output. This allows you to watch the 109 output 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 113 programs in this package.</para> 114 115 </sect2> 116 117 34 118 35 119 </sect1> 36
Note:
See TracChangeset
for help on using the changeset viewer.