Наши друзья и партнеры

купить дешевый 
компьютер родом из Dhgate.com

Книги по Linux (с отзывами читателей)

Библиотека сайта rus-linux.net

6.53. Psmisc-22.12

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

Approximate build time: less than 0.1 SBU
Required disk space: 2.5 MB

6.53.1. Installation of Psmisc

Fix a bug that prevents peekfd from being built on the x86_64 architecture:

sed -i 's@#include <sys\/user.h>@#include <bits\/types.h>\n&@' configure

Prepare Psmisc for compilation:

./configure --prefix=/usr

Compile the package:


This package does not come with a test suite.

Install the package:

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.53.2. Contents of Psmisc

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

Short Descriptions


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


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


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


Prints information about a process


Displays running processes as a tree


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

Если вам понравилась статья, поделитесь ею с друзьями: