Created
July 21, 2012 16:15
-
-
Save antonbabenko/3156298 to your computer and use it in GitHub Desktop.
Useful shell commands (network, Varnish, etc)
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
# 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