Last active
April 17, 2020 08:30
-
-
Save koyanloshe/9b72dc3230fa66c527170591586aab79 to your computer and use it in GitHub Desktop.
Kill a node server process that wont terminate #Unix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//primary attempt | |
killall node | |
//secondary attempt | |
kill -9 $(ps aux | grep '\snode\s' | awk '{print $2}') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment