Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/pombadev/ikill

Interactively kill running processes.
https://github.com/pombadev/ikill

fkill ikill kill killall pkill process

Last synced: 1 day ago
JSON representation

Interactively kill running processes.

Awesome Lists containing this project

README

        

ikill [![Crates.io](https://img.shields.io/crates/v/ikill)](https://crates.io/crates/ikill) ![License](https://img.shields.io/crates/l/ikill)
---

> Interactively kill running processes, inspired by [fkill-cli](https://github.com/sindresorhus/fkill-cli).

### Features

- List and fuzzy find running processes.
- Multi select processes by pressing .
- Clear all queries by pressing Ctrl+l.

### Usage

Run `ikill` on terminal, search and press .

### Screenshot

[![A screenshot](./screencast.gif)](./screencast.gif)

### Installation

If you have rust toolchain installed, you can just do:
```
cargo install ikill
```

Alternatively, you can download pre-build binaries from the [release page](https://github.com/pjmp/ikill/releases).

### Usage

```
ikill - Interactively kill processes

USAGE:
ikill

FLAGS:
-h, --help Prints help information
-V, --version Prints version information
```

# Alternatives

```bash
# using `fzf`
pgrep . -l | fzf --reverse -m | awk '{ print $2 }' | xargs -I% -r kill -9 '%'

# using `dmenu`
pgrep . -l | dmenu -l 20 | awk '{ print $2 }' | xargs -I% -r kill -9 '%'
```

### TODO

- [ ] Preview pane with process id?
- [ ] allow users to customize `skim`?