Skip to content

Instantly share code, notes, and snippets.

@xiaotian-tan
Created February 8, 2019 10: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 xiaotian-tan/86c46fa18b084e73a2a1d0e71fce31ee to your computer and use it in GitHub Desktop.
Save xiaotian-tan/86c46fa18b084e73a2a1d0e71fce31ee to your computer and use it in GitHub Desktop.
kill go services in dev enviornment
# Find service running on port 8080
lsof -i :8080
# kill services by PID
kill -9 PID
# Check process runned related to go
ps -ef|grep "go"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment