Skip to content

Instantly share code, notes, and snippets.

@antonbabenko
Created July 21, 2012 16:15
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 antonbabenko/3156298 to your computer and use it in GitHub Desktop.
Save antonbabenko/3156298 to your computer and use it in GitHub Desktop.
Useful shell commands (network, Varnish, etc)
# Show which process is on this port:
netstat -tulpn | grep :80
# List urls which miss:
varnishtop -i txurl
# Activity by IP:
varnishlog -b -m TxHeader:88.88.88.88
# Purge URL from curl:
curl -I -X PURGE http://www.example.com/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment