%general-entities; ]> Procps-&procps-version; Procps <para>The Procps package contains programs for monitoring processes.</para> </sect2> <sect2 role="installation"> <title>Installation of Procps The following sed stops the Makefile from trying to install binaries owned by root and prevents ldconfig from being run. cp -v Makefile{,.orig} sed -e "/^install :=/s/--owner 0 --group 0//" \ -e "/^ldconfig :=/s/= ldconfig/=/" Makefile.orig > Makefile Compile the package: make Install the package: make DESTDIR=${CLFS} lib64=lib install The meaning of the make option: lib64=lib By default, procps will attempt to install into /lib64 if it exists, even if the package is not built 64-bit. This option forces procps to install its libraries into /lib instead. Contents of Procps Installed programs Installed library free, kill, pgrep, pkill, pmap, ps, pwdx, skill, slabtop, snice, sysctl, tload, top, uptime, vmstat, w, and watch libproc.so Short Descriptions free Reports the amount of free and used memory (both physical and swap memory) in the system free kill Sends signals to processes kill pgrep Looks up processes based on their name and other attributes pgrep pkill Signals processes based on their name and other attributes pkill pmap Reports the memory map of the given process pmap ps Lists the current running processes ps pwdx Reports the current working directory of a process pwdx skill Sends signals to processes matching the given criteria skill slabtop Displays detailed kernel slab cache information in real time slabtop snice Changes the scheduling priority of processes matching the given criteria snice sysctl Modifies kernel parameters at run time sysctl tload Prints a graph of the current system load average tload top Displays a list of the most CPU intensive processes; it provides an ongoing look at processor activity in real time top uptime Reports how long the system has been running, how many users are logged on, and the system load averages uptime vmstat Reports virtual memory statistics, giving information about processes, memory, paging, block Input/Output (IO), traps, and CPU activity vmstat w Shows which users are currently logged on, where, and since when w watch Runs a given command repeatedly, displaying the first screen-full of its output; this allows a user to watch the output change over time watch libproc Contains the functions used by most programs in this package libproc