Skip to content

Latest commit

 

History

History
38 lines (24 loc) · 1.11 KB

README.md

File metadata and controls

38 lines (24 loc) · 1.11 KB

haskell-dmenu-pkill

dmenu script for killing applications. Can be sorted by process id or CPU/Memory usage.

dmenu-pkill screenshot

Runtime Dependencies: dmenu or dmenu2, and the standard linux tools ps and kill.

Installation: Either get the sources from this repository, or from hackage.

Usage:

  • dmenu-pkill [OPTIONS] [-- DMENUOPTIONS]

    Spawns a dmenu process to let the user select processes to kill with kill -9.

    All arguments, after the first -- argument, are directly passed to dmenu.

Options:

  • -cpu

    Sort processes by CPU usage as displayed with ps.

  • -mem

    Sort processes by memory usage as displayed with ps.

  • -pid

    Sort processes by process id (default).

The application is build with the dmenu Haskell bindings, which support customizing the dmenu commandline options in a configuration file.