UNPKG

serialkiller

Version:

SerialKiller is a process killer tool for Unix/Linux environments.

68 lines (43 loc) 1.62 kB
# SerialKiller [![Build Status](https://travis-ci.com/TejaBeta/SerialKiller-CLI.svg?branch=master)](https://travis-ci.com/TejaBeta/SerialKiller-CLI) [![Open Source Love](https://badges.frapsoft.com/os/v1/open-source.svg?v=103)](https://github.com/ellerbrock/open-source-badges/) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com) [![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier) 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 ``` ## Dependencies [Chalk](https://www.npmjs.com/package/chalk) [Meow](https://www.npmjs.com/package/meow) [Prettier](https://www.npmjs.com/package/prettier) ## License [Apache 2.0](https://github.com/TejaBeta/SerialKiller/blob/master/LICENSE)