%general-entities; ]> psmisc &psmisc-version;
&psmisc-url;
Psmisc-&psmisc-version; Psmisc <para>The Psmisc package contains programs for displaying information about running processes.</para> <segmentedlist> <segtitle>&buildtime;</segtitle> <segtitle>&diskspace;</segtitle> <seglistitem> <seg>&psmisc-ch6-sbu;</seg> <seg>&psmisc-ch6-du;</seg> </seglistitem> </segmentedlist> </sect2> <sect2 role="installation"> <title>Installation of Psmisc Prepare Psmisc for compilation: ./configure --prefix=/usr --exec-prefix="" The meaning of the configure options: --exec-prefix="" This ensures that the Psmisc binaries will install into /bin instead of /usr/bin. This is the correct location according to the FHS, because some of the Psmisc binaries are used by the LFS-Bootscripts package. Compile the package: make This package does not come with a test suite. Install the package: make install There is no reason for the pstree and pstree.x11 programs to reside in /bin. Therefore, move them to /usr/bin: mv -v /bin/pstree* /usr/bin By default, Psmisc's pidof program is not installed. This usually is not a problem because it is installed later in the Sysvinit package, which provides a better pidof program. If Sysvinit will not be used for a particular system, complete the installation of Psmisc by creating the following symlink: ln -sv killall /bin/pidof Contents of Psmisc Installed programs fuser, killall, peekfd, pstree, and pstree.x11 (link to pstree) Short Descriptions fuser Reports the Process IDs (PIDs) of processes that use the given files or file systems fuser killall Kills processes by name; it sends a signal to all processes running any of the given commands killall peekfd Peek at file descriptors of a running process, given its PID peekfd pstree Displays running processes as a tree pstree pstree.x11 Same as pstree, except that it waits for confirmation before exiting pstree.x11