#process-id #unix #signal #cli

app kiss

Sends a unix signal to the specified process id

1 unstable release

0.1.0 Feb 14, 2023

#15 in #process-id

MIT license

9KB
164 lines

😘 kiss

Actions Status Crates.io License

kiss is a kill clone.
Sends a unix signal to the specified process id.

Install

$ cargo install kiss

Usage

$ kiss --help
kiss: send a signal to a process

Usage: kiss <OPTIONS> [PID]...

Options:
  -s, --signal <SIGNAL>  Specify the signal
  -l, --list             List signal names
  -h, --help             Show help
  -v, --version          Show version

e.g.

$ kiss --signal kill 12345
SIGKILL to 12345
$ kiss --signal term 1 2 3
SIGTERM to 1
SIGTERM to 2
SIGTERM to 3
$ kiss --signal kill 999999
failed: `ESRCH: No such process`

Dependencies

~1.5MB
~35K SLoC