Installing Psmisc-21.2

Estimated build time:           0.11 SBU
Estimated required disk space:  2 MB

Contents of Psmisc

Last checked against version 21.

The Psmisc package contains three programs which help manage the /proc directory.

Psmisc installs the following:

Program Files

fuser, killall and pstree

 

Psmisc Installation Dependencies

Last checked against version 20.2.

Autoconf: autoconf, autoheader
Automake: aclocal, automake
Bash: sh
Bison: bison
Binutils: as, ld
Diffutils: cmp
Fileutils: chmod, install, ls, mkdir, mv, rm
Gettext: msgfmt, xgettext
Gcc: cc, cc1, collect2, cpp0, gcc
Grep: egrep, grep
M4: m4
Make: make
Gawk: gawk
Sed: sed
Sh-utils: basename, echo, expr, hostname, sleep, uname
Texinfo: makeinfo
Textutils: cat, tr

 

Installation of Psmisc

Prepare Psmisc to be compiled:

./configure --prefix=/usr --exec-prefix=/

The --exec-prefix=/ flag will cause the programs to be installed in /bin rather than in /usr/bin. The programs in this package are often used in bootscripts; they should be in the /bin directory so they can be used in the event that the /usr partition isn't mounted.

Continue with compiling the package:

make

Finish installing the package:

make install

Psmisc's pidof program isn't installed by default. Generally, this isn't a problem because we later install the Sysvinit package, which provides a better pidof program.

It's up to you to decide if you are going to use the Sysvinit package, which provides a pidof program, or not. If you're not going to use Sysvinit, you should complete this package's installation by creating the /bin/pidof symlink:

ln -s killall /bin/pidof