Linux – View Squid Proxy’s Active Cache Store

Squid Cache

Ever wanted to see whats going through Squid’s cache right at the moment? But get immediately discouraged with all the timestamps, SWAPOUT, RELEASE and other cache variables?

I have a one-line for you!
~ # tail -f /var/log/squid/store.log|grep -oE '\b(http?)://[-A-Za-z0-9+&@#/%?=~_|!:,.;]*[-A-Za-z0-9+&@#/%=~_|]'

This will print out visited links that passes by squid in real time, it can be added to a bash alias for quick access:
alias squidcache="tail -f /var/log/squid/store.log|grep -oE '\b(http?)://[-A-Za-z0-9+&@#/%?=~_|!:,.;]*[-A-Za-z0-9+&@#/%=~_|]'"

Or simply run as-is for whatever reason..
~ # grep -oE '\b(http?)://[-A-Za-z0-9+&@#/%?=~_|!:,.;]*[-A-Za-z0-9+&@#/%=~_|]' /var/log/squid/store.log

The Dead Weather – Dodge and Burn Vinyl LP

Dodge and Burn Open

Another awesome Gift from my bae <3

The Dead Weather once again delivers the gloomy atmosphere I’ve learned to love, that is best performed by -among others- Jack and Alison <3

Dodge and Burn Front

One more to go, and my record trio is complete!

Dodge and Burn Back

Track Listing

  1. I Feel Love (Every Million Miles)
  2. Buzzkill(er)
  3. Let Me Through
  4. Three Dollar Hat
  5. Lose The Right
  6. Rough Detective
  7. Open Up
  8. Be Still
  9. Mile Markers
  10. Cop and Go
  11. Too Bad
  12. Impossible Winner