Skip to content

Instantly share code, notes, and snippets.

@ivermac
Created March 20, 2020 05:24
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 ivermac/f7a7e38eecb662e75e080a84fb2d749b to your computer and use it in GitHub Desktop.
Save ivermac/f7a7e38eecb662e75e080a84fb2d749b to your computer and use it in GitHub Desktop.
Kill pm2 god daemon

Killing pm2 god daemon

ps aux | grep -i pm2 | grep <user> | grep -v grep | awk '{print $2}' | xargs kill -9

A small alteration from the github solution given here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment