6.23. Psmisc-22.20

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

Приблизительное время сборки: менее 0.1 SBU
Требует свободного места на диске: 4.2 MB

6.23.1. Установка Psmisc

Подготовим Psmisc к компиляции:

./configure --prefix=/usr

Cкомпилируем пакет:

make

This package does not come with a test suite.

Установим пакет:

make install

Finally, 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

6.23.2. Содержимое Psmisc

Установленные программы: fuser, killall, peekfd, prtstat, pstree, and pstree.x11 (link to pstree)

Краткое описание

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

Peek at file descriptors of a running process, given its PID

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