Installing Procps-2.0.7

Estimated build time:           1 minute
Estimated required disk space:  2 MB

Installation of Procps

Install Procps by running the following commands:

make &&
make XSCPT='' install &&
mv /usr/bin/kill /bin

Command explanations

make XSCPT='' install: This will set the Makefile variable XSCPT to an empty value so that the XConsole installation is disabled. Otherwise "Make install" tries to copy the file XConsole to /usr/X11R6/lib/X11/app-defaults. And that directory does not exist, because X is not installed.

Contents of procps-2.0.7

Program Files

free, kill, oldps, pgrep, pkill, ps, skill, snice, sysctl, tload, top, uptime, vmstat, w and watch

Descriptions

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.

kill

kills sends signals to processes.

oldps and ps

ps gives a snapshot of the current processes.

pgrep

pgrep looks up processes based on name and other attributes

pkill

pkill signals processes based on name and other attributes

skill

skill sends signals to process matching a criteria.

snice

snice changes the scheduling priority for process matching a criteria.

sysctl

sysctl modifies kernel parameters at runtime.

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).

top

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

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.

vmstat

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

w

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

watch

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

Library Files

libproc.so

Descriptions

libproc

libproc is the library against which most of the programs in this set are linked to save disk space by implementing common functions only once.

Dependencies

Procps-2.0.7 needs the following to be installed:


bash: sh
binutils: as, ld, strip
fileutils: install, ln, mv, rm
gcc: cc1, collect2, cpp0, gcc
grep: grep
make: make
gawk: awk
sed: sed
sh-utils: basename, pwd
textutils: sort, tr