Tuesday, February 23, 2016

Node.js kill script

#!/bin/bash
PID=` ps -ef | grep node | grep -v grep | awk '{print $2}'`
`kill $PID`

No comments:

Post a Comment