6.43. Installing Procps

6.43.1. Installation of Procps

Install Procps by running the following commands:


sed "s/XConsole/#XConsole/" Makefile | make -f - &&
sed "s/XConsole/#XConsole/" Makefile | make -f - install &&
mv /usr/bin/kill /bin

6.43.2. Contents

The Procps package contains the free, kill, oldps, ps, skill, snice, sysctl, tload, top, uptime, vmstat, w and watch programs.

6.43.3. Description

6.43.3.1. free

free displays the total amount of free and used physical and swap memory in the system, as well as the shared memory and buffers used by the kernel.

6.43.3.2. kill

kills sends signals to processes.

6.43.3.3. oldps and ps

ps gives a snapshot of the current processes.

6.43.3.4. skill

skill sends signals to process matching a criteria.

6.43.3.5. snice

snice changes the scheduling priority for process matching a criteria.

6.43.3.6. sysctl

sysctl modifies kernel parameters at runtime.

6.43.3.7. tload

tload prints a graph of the current system load average to the specified tty (or the tty of the tload process if none is specified).

6.43.3.8. top

top provides an ongoing look at processor activity in real time.

6.43.3.9. uptime

uptime gives a one line display of the following information: the current time, how long the system has been running, how many users are currently logged on, and the system load averages for the past 1, 5, and 15 minutes.

6.43.3.10. vmstat

vmstat reports information about processes, memory, paging, block IO, traps, and cpu activity.

6.43.3.11. w

w displays information about the users currently on the machine, and their processes.

6.43.3.12. watch

watch runs command repeatedly, displaying its output (the first screenfull).