%general-entities; ]> procps-ng &procps-ng-version;
&procps-ng-url;
Procps-ng-&procps-ng-version; Procps-ng <para>The Procps-ng package contains programs for monitoring processes.</para> <segmentedlist> <segtitle>&buildtime;</segtitle> <segtitle>&diskspace;</segtitle> <seglistitem> <seg>&procps-ng-ch6-sbu;</seg> <seg>&procps-ng-ch6-du;</seg> </seglistitem> </segmentedlist> </sect2> <sect2 role="installation"> <title>Installation of Procps-ng Now prepare procps-ng for compilation: ./configure --prefix=/usr \ --exec-prefix= \ --libdir=/usr/lib \ --docdir=/usr/share/doc/procps-ng-&procps-ng-version; \ --disable-static \ --disable-skill \ --disable-kill The meaning of the configure options: --disable-skill This switch disables the obsolete and unportable skill and snice commands. --disable-kill This switch disables building the kill command that was installed in the util-linux package. Compile the package: make The test suite needs some custom modifications for LFS. Remove the test that fails when scripting does not use a tty device. To run the test suite, run the following commands: sed -i -r 's|(pmap_initname)\\\$|\1|' testsuite/pmap.test/pmap.exp make check Install the package: make install Finally, move the library to a location that can be found if /usr is not mounted. mv -v /usr/lib/libprocps.so.* /lib ln -sfv ../../lib/libprocps.so.1.1.2 /usr/lib/libprocps.so Contents of Procps-ng Installed programs Installed library free, pgrep, pkill, pmap, ps, pwdx, slabtop, sysctl, tload, top, uptime, vmstat, w, and, watch libprocps.so Short Descriptions free Reports the amount of free and used memory (both physical and swap memory) in the system free 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 slabtop Displays detailed kernel slap cache information in real time slabtop 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 libprocps