cli-die
v0.1.31
Published
Kill multiple processes
Downloads
19
Readme
Table of Contents
Die
Utility executable to kill multiple processes by regular expression pattern match.
Converts the output of ps(1) into an object graph and finds pids that match specified patterns.
This module may also be used as a library require('cli-die')
, see killer.js.
Install
npm i -g cli-die
Test
npm test
Manual
Run die help
for the program manual, use die help <cmd>
for individual command man pages.
Help
Usage: die <args> <ptn...> -- <psargs>
Kill groups of processes.
Commands:
column, c Print column names.
graph, g Print parsed object graph.
match, m Print processes that match patterns.
kill, k Kill processes that match patterns.
help Show help for commands.
Options:
-f, --filter=[name...] Filter columns, only include named columns.
-c, --cmd Executable name only in command column.
--[no]-color Enable or disable terminal colors.
-U=[uid] Display processes for a real uid.
-u=[username] Display processes for a username.
--help Display this help and exit.
--version Print version and exit.
Report bugs to muji <[email protected]>.
License
Everything is MIT. Read the license if you feel inclined.
Generated by mdp(1).