10.109. Psmisc-22.21

The Psmisc package contains programs for displaying information about running processes.

10.109.1. Installation of Psmisc

Prepare Psmisc for compilation:

CC="gcc ${BUILD64}" ./configure \
    --prefix=/usr

Compile the package:

make

This package does not come with a test suite.

Install the package:

make install

Move the killall and fuser programs to the location specified by the FHS:

mv -v /usr/bin/fuser /bin
mv -v /usr/bin/killall /bin

10.109.2. Contents of Psmisc

Installed programs: fuser, killall, peekfd, prtstat, pstree, pstree.x11 (link to pstree)

Short Descriptions

fuser

Reports the Process IDs (PIDs) of processes that use the given files or file systems

killall

Kills processes by name; it sends a signal to all processes running any of the given commands

peekfd

Peeks at file descriptors of running processes

prtstat

Prints information about a process

pstree

Displays running processes as a tree

pstree.x11

Same as pstree, except that it waits for confirmation before exiting