dmenu script for killing applications. Can be sorted by process id or CPU/Memory usage.
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 todmenu
.
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.