rip-cli-0.4.3 is not a library.
Installation
Homebrew (macOS)
brew tap cesarferreira/tap
brew install rip
Cargo
cargo install rip-cli
From source
cargo install --path .
Nix
Test with nix run:
nix run github:cesarferreira/rip --no-write-lock-file
Install via flake
# In your local flake.nix file
inputs = {
rip = {
url = "github:cesarferreira/rip";
inputs.nixpkgs.follows = "nixpkgs";
};
};
# Your output packages + rip
outputs = {
# self,
# nixpkgs,
rip,
# ...
};
# In your configuration.nix
{ inputs, ...}:{
# Your other configurations
environment.systemPackages = with pkgs; [
# inputs.rip.packages.${$system}.default #<-old
inputs.rip.packages.${pkgs.stdenv.hostPlatform.system}.default #<- current
];
}
Usage
rip
rip -f chrome
rip -s SIGTERM
rip --sort mem
rip --sort pid
rip --sort name
Options
| Flag |
Description |
-f, --filter <name> |
Pre-filter processes by name |
-s, --signal <signal> |
Signal to send (default: KILL) |
--sort <field> |
Sort by: cpu (default), mem, pid, name |
Controls
| Key |
Action |
Space |
Select/deselect process |
Enter |
Kill selected processes |
Esc / Ctrl+C |
Cancel |
| Type |
Fuzzy search |
Signals
| Signal |
Number |
Description |
KILL |
9 |
Force kill (default) |
TERM |
15 |
Graceful termination |
INT |
2 |
Interrupt |
HUP |
1 |
Hangup |
QUIT |
3 |
Quit |
Examples
rip -f chrome
rip -s TERM
rip -f node
License
MIT