Skip to content

Instantly share code, notes, and snippets.

@andineck
Created November 22, 2013 13:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andineck/7599643 to your computer and use it in GitHub Desktop.
Save andineck/7599643 to your computer and use it in GitHub Desktop.
list node processes
# kill specific process, check with 'ps -aufx | grep node'
kill <pidnr>
# kill all node processes
killall -9 node
# terminate forever process, check with 'forever list'
forever stop <number 0..n>
# list node processes in detail (with forks)
ps aufx | grep node
# list pid's of running node processes
pgrep node
# list apps started with forever
forever list
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment