psmisc  23.4
About: psmisc are small utilities that use the /proc filesystem: fuser, killall, pstree and peekfd.
  Fossies Dox: psmisc-23.4.tar.xz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

psmisc Documentation

Some Fossies usage hints in advance:

  1. To see the Doxygen generated documentation please click on one of the items in the steelblue colored "quick index" bar above or use the side panel at the left which displays a hierarchical tree-like index structure and is adjustable in width.
  2. If you want to search for something by keyword rather than browse for it you can use the client side search facility (using Javascript and DHTML) that provides live searching, i.e. the search results are presented and adapted as you type in the Search input field at the top right.
  3. Doxygen doesn't incorporate all member files but just a definable subset (basically the main project source code files that are written in a supported language). So to search and browse all member files you may visit the Fossies psmisc-23.4.tar.xz contents page and use the Fossies standard member browsing features (also with source code highlighting and additionally with optional code folding).
README.md

psmisc

A package of small utilities that use the proc file-system.

  • fuser - Identifies processes using files or sockets
  • killall - kills processes by name, e.g. killall -HUP named
  • prtstat - prints statistics of a process
  • pslog - prints log path(s) of a process
  • pstree - shows the currently running processes as a tree
  • peekfd - shows the data travelling over a file descriptor

Getting latest source

There are two ways of getting the latest source.

GitLab

For the latest psmisc source, visit the GitLab psmisc page

SourceForge

There are also tarballs found on SourceForge. The reason these exist is the tarballs contain extra generated files. It's reasonably easy to generate those files anyhow.

Getting Help

There is no email list, but there is both an Issue Tracker and Merge Request Tracker.

I'm also trying out a Matrix room #psmisc so we will see how it goes.

Credits

Translations

My thanks for the various translators who have cheerfully given me the po files to make psmisc speak different languages. If your language is not supported then let me know, all it takes is translating one file in a certain manner. The current status of the translations can be found on the Translation Project website.

Icons

The pstree icons were drawn by Tatlin at Coresis who has given permission for them to be used for psmisc.

The license has changed to GPL for version 20 onwards with permission of the original authors. People who want to use these programs under the previous license will have to look at psmisc 19 or below.

fuser on network fs

On network file-systems, fuser can hang because its trying to stat files that may go away. If you use the --with-timeout-stat option during the configure step then fuser will fork a process to run stat. This means fuser doesn't hang, but it is much slower.