serialkiller
v1.1.0
Published
SerialKiller is a process killer tool for Unix/Linux environments.
Downloads
1
Readme
SerialKiller
SerialKiller is a process kill tool for Unix/Linux environment.
Installation
npm i -g serialkiller
In general
ps -ef | grep <processname>
kill <option> <pid>
Serial killer
serialkiller <option> <processname>
Usage
Serialkiller is a pure javascript cli tool
Commands:
$serialkiller --help
$serialkiller --version
$serialkiller <option> <processname>
or
$serialkiller <processname>
options for the serialkiller are same as options for kill Commands
1 HUP (hang up)
2 INT (interrupt)
3 QUIT (quit)
6 ABRT (abort)
9 KILL (non-catchable, non-ignorable kill)
14 ALRM (alarm clock)
15 TERM (software termination signal)
Example:
$serialkiller 9 tomcat
or
$serialkiller KILL tomcat
or
$serialkiller tomcat