1.3.1 • Published 6 years ago
nodekill v1.3.1
NodeKill
Simply stop unresponsive programs from the command line
Purpose
The purpose of NodeKill is to make stopping unresponsive programs easier, particularly when working on different operating systems.
Installation
This package currently only works on machines with Powershell available (see: Contributing) from the command line.
npm install -g nodekill
Usage
To list all running processes:
nodekill list
Which returns:
Handles NPM(K) PM(K) WS(K) CPU(s) Id SI ProcessName
------- ------ ----- ----- ------ -- -- -----------
171 12 2072 7828 0.11 15840 4 acrotray
149 9 1368 3764 4452 0 armsvc
108 7 1512 4740 0.02 13520 4 bash
169 10 7276 9780 0.67 18276 4 bash
... .. .... .... .... ..... ......
To find the exact name of a process (fuzzy search):
nodekill find -p note
Which returns:
Handles NPM(K) PM(K) WS(K) CPU(s) Id SI ProcessName
------- ------ ----- ----- ------ -- -- -----------
235 13 2656 11996 0.05 9752 4 notepad
To stop a program:
nodekill stop -p notepad
Contributing
I need someone to test the commands on MacOS and Linux. Please see the 'bin/platforms/index.js' file.