Tag: grep

  • How To: Linux – View Squid Proxy’s Active Cache Store

    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…