From c6cb3aa2f176d65a5ebe77e7da82e20946188a98 Mon Sep 17 00:00:00 2001 From: Manuel Canales Esparcia Date: Mon, 17 May 2004 21:55:01 +0000 Subject: HEAD: Retagged the Contents of ... sections. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3621 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/procps.xml | 151 +++++++++++++++++++++++++++++++++++++-------------- 1 file changed, 110 insertions(+), 41 deletions(-) (limited to 'chapter06/procps.xml') diff --git a/chapter06/procps.xml b/chapter06/procps.xml index be44ace51..9444b9eef 100644 --- a/chapter06/procps.xml +++ b/chapter06/procps.xml @@ -43,83 +43,152 @@ Make, Ncurses -Contents of Procps - -Installed programs: free, kill, pgrep, pkill, -pmap, ps, skill, snice, sysctl, tload, top, uptime, vmstat, w and watch - -Installed library: libproc.so - - +Contents of Procps + +Installed programs +Installed library +free, kill, pgrep, pkill, +pmap, ps, skill, snice, sysctl, tload, top, uptime, vmstat, w and watch +libproc.so + -Short descriptions +Short descriptions + +free + free -free reports the amount of free and used memory +reports the amount of free and used memory in the system, both physical and swap memory. + + + +kill + kill -kill is used to send signals to processes. +is used to send signals to processes. + + + +pgrep + pgrep -pgrep looks up processes based on their name -and other attributes. +looks up processes based on their name and other attributes. + + + +pkill + pkill -pkill signals processes based on their name -and other attributes. +signals processes based on their name and other attributes. + + + +pmap + pmap -pmap reports the memory map of the given -process. +reports the memory map of the given process. + + + +ps + ps -ps gives a snapshot of the current processes. +gives a snapshot of the current processes. + + + +skill + skill -skill sends signals to processes matching the -given criteria. +sends signals to processes matching the given criteria. + + + +snice + snice -snice changes the scheduling priority of processes -matching the given criteria. +changes the scheduling priority of processes matching the given criteria. + + + +sysctl + sysctl -sysctl modifies kernel parameters at run time. +modifies kernel parameters at run time. + + + +tload + tload -tload prints a graph of the current system load -average. +prints a graph of the current system load average. + + + +top + top -top displays the top CPU processes. It provides +displays the top CPU processes. It provides an ongoing look at processor activity in real time. + + + +uptime + uptime -uptime reports how long the system has been +reports how long the system has been running, how many users are logged on, and the system load averages. + + + +vmstat + vmstat -vmstat reports virtual memory statistics, giving -information about processes, memory, paging, block IO, traps, and CPU -activity. - +reports virtual memory statistics, giving information about processes, +memory, paging, block IO, traps, and CPU activity. + + + + +w + w -w shows which users are currently logged on, -where and since when. +shows which users are currently logged on, where and since when. + + + +watch + watch -watch runs a given command repeatedly, -displaying the first screen-full of its output. This allows you to watch the -output change over time. - +runs a given command repeatedly, displaying the first screen-full of its +output. This allows you to watch the output change over time. + + + + +libproc + libproc -libproc contains the functions used by most -programs in this package. +contains the functions used by most programs in this package. + + + - - -- cgit v1.2.3-54-g00ecf