Psmisc

For installation instructions see the Section called Installing Psmisc-21.3 in Chapter 6.

Official Download Location

Psmisc (21.3):
http://download.sourceforge.net/psmisc/
ftp://download.sourceforge.net/pub/sourceforge/psmisc/

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

Descriptions

(Last checked against version 21.)

Program file descriptions

Note that in LFS we don't install the pidof link by default because we use pidof from sysvinit instead.

fuser

fuser displays the PIDs of processes that use the specified files or file systems.

killall

killall sends a signal to all processes running any of the specified commands.

pstree

pstree shows running processes as a tree.

Psmisc Installation Dependencies

(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, cpp0, gcc
Gettext: msgfmt, xgettext
Grep: egrep, grep
M4: m4
Make: make
Sed: sed
Texinfo: makeinfo