Installing Psmisc-&psmisc-version;
The Psmisc package contains programs for displaying information on
processes.
&buildtime; &psmisc-time;
&diskspace; &psmisc-compsize;
&aa-psmisc-down;
&aa-psmisc-dep;
Installation of Psmisc
Prepare Psmisc for compilation:
./configure --prefix=/usr --exec-prefix=/
The meaning of the configure option:
--exec-prefix=/: This causes the
binaries to be installed in /bin and not in
/usr/bin. As the Psmisc programs are often used in
bootscripts, they should be available also when the /usr
file system isn't mounted.
Compile the package:
make
And install it:
make install
There is no reason for the pstree and
pstree.x11 programs to reside in
/bin. We therefore move them to
/usr/bin. Also, there is no need
for pstree.x11 to exist as a separate program. We
therefore make it a symbolic link to pstree:
mv /bin/pstree* /usr/bin
ln -sf pstree /usr/bin/pstree.x11
By default Psmisc's pidof program isn't installed.
Generally, this isn't a problem because we later install the Sysvinit package,
which provides a better pidof program. But if you're not
going to use Sysvinit, you should complete the installation of Psmisc by
creating the following symlink:
ln -s killall /bin/pidof
&aa-psmisc-shortdesc;
&aa-psmisc-desc;