Estimated build time: 0.1 SBU Estimated required disk space: 2.2 MB |
(Last checked against version 21.3.)
The Psmisc package contains three programs which help manage the /proc directory.
Installed programs: fuser, killall and pstree
(Last checked against version 20.2.)
Bash: sh
Bison: bison
Binutils: as, ld
Coreutils: basename, cat, chmod, echo, expr, hostname, install,
ls, mkdir, mv, rm, sleep, tr, uname
Diffutils: cmp
Gawk: gawk
GCC: cc, cc1, collect2, cpp, gcc
Gettext: msgfmt, xgettext
Grep: egrep, grep
M4: m4
Make: make
Sed: sed
Texinfo: makeinfo
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 filesystem isn't mounted.
Compile the package:
make |
And install it:
make install |
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 |