diff options
Diffstat (limited to 'chapter06/procps.xml')
-rw-r--r-- | chapter06/procps.xml | 31 |
1 files changed, 18 insertions, 13 deletions
diff --git a/chapter06/procps.xml b/chapter06/procps.xml index 5309bb796..2deebf10d 100644 --- a/chapter06/procps.xml +++ b/chapter06/procps.xml @@ -47,20 +47,12 @@ --libdir=/usr/lib \ --docdir=/usr/share/doc/procps-ng-&procps-ng-version; \ --disable-static \ - --disable-skill \ --disable-kill</userinput></screen> <variablelist> <title>The meaning of the configure options:</title> <varlistentry> - <term><parameter>--disable-skill</parameter></term> - <listitem> - <para>This switch disables the obsolete and unportable - skill and snice commands.</para> - </listitem> - </varlistentry> - <varlistentry> <term><parameter>--disable-kill</parameter></term> <listitem> <para>This switch disables building the kill command that @@ -85,11 +77,14 @@ make check</userinput></screen> <screen><userinput remap="install">make install</userinput></screen> -<para>Finally, move the library to a location that can be found if +<para>Finally, move essential files to a location that can be found if <filename class="directory">/usr</filename> is not mounted.</para> -<screen><userinput remap="install">mv -v /usr/lib/libprocps.so.* /lib -ln -sfv ../../lib/libprocps.so.1.1.2 /usr/lib/libprocps.so</userinput></screen> +<screen><userinput remap="install">mv -v /usr/bin/pidof /bin +mv -v /usr/lib/libprocps.so.* /lib +ln -sfv ../../lib/libprocps.so.3.0.0 /usr/lib/libprocps.so</userinput></screen> + +<!-- Note to devs: check the library version for new releases --> </sect2> @@ -101,7 +96,7 @@ ln -sfv ../../lib/libprocps.so.1.1.2 /usr/lib/libprocps.so</userinput></screen> <segtitle>Installed library</segtitle> <seglistitem> - <seg>free, pgrep, pkill, pmap, ps, pwdx, slabtop, + <seg>free, pgrep, pidof, pkill, pmap, ps, pwdx, slabtop, sysctl, tload, top, uptime, vmstat, w, and, watch</seg> <seg>libprocps.so</seg> </seglistitem> @@ -133,6 +128,16 @@ ln -sfv ../../lib/libprocps.so.1.1.2 /usr/lib/libprocps.so</userinput></screen> </listitem> </varlistentry> + <varlistentry id="pidof"> + <term><command>pidof</command></term> + <listitem> + <para>Looks up processes based on their name and other attributes</para> + <indexterm zone="ch-system-procps pidof"> + <primary sortas="b-pidof">pidof</primary> + </indexterm> + </listitem> + </varlistentry> + <varlistentry id="pkill"> <term><command>pkill</command></term> <listitem> @@ -261,7 +266,7 @@ ln -sfv ../../lib/libprocps.so.1.1.2 /usr/lib/libprocps.so</userinput></screen> </varlistentry> <varlistentry id="libprocps"> - <term><filename class="libraryfile">libproc</filename></term> + <term><filename class="libraryfile">libprocps</filename></term> <listitem> <para>Contains the functions used by most programs in this package</para> |