https://github.com/m0rphism/haskell-dmenu-pkill
dmenu script for killing applications. Can be sorted by process id or CPU/Memory usage.
https://github.com/m0rphism/haskell-dmenu-pkill
application dmenu haskell pkill
Last synced: 8 months ago
JSON representation
dmenu script for killing applications. Can be sorted by process id or CPU/Memory usage.
- Host: GitHub
- URL: https://github.com/m0rphism/haskell-dmenu-pkill
- Owner: m0rphism
- License: bsd-3-clause
- Created: 2016-11-21T11:07:34.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-01-19T16:42:00.000Z (over 9 years ago)
- Last Synced: 2025-10-21T13:55:37.662Z (8 months ago)
- Topics: application, dmenu, haskell, pkill
- Language: Haskell
- Size: 62.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# haskell-dmenu-pkill
dmenu script for killing applications. Can be sorted by process id or CPU/Memory usage.

Runtime Dependencies:
[dmenu](http://tools.suckless.org/dmenu/) or
[dmenu2](https://bitbucket.org/melek/dmenu2), and
the standard linux tools `ps` and `kill`.
Installation:
Either get the sources from this repository, or
[from hackage](https://hackage.haskell.org/package/dmenu-pkill).
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](https://hackage.haskell.org/package/dmenu), which
support customizing the dmenu commandline options in a [configuration file](https://github.com/m0rphism/haskell-dmenu/blob/master/CONFIG.md).