8

Anyone know how to see the space on squid? I mean the cache space on the squid that is being used, like the available space and used space of the cache itself, thanks!

1 Answer 1

10

Check squid cache configuration file for the size of squid cache.

Goto Terminal and type the following,

grep ^cache_dir /etc/squid/squid.conf

cache_dir ufs /var/spool/squid 15000 16 256

Here 15000 is your squid cache directory size.

NOTE: Please note that the squid configuration file is squid.conf

If you want to know how much data is currently cached,then type the following in terminal

sudo du -sh /var/spool/squid

18M /var/spool/squid

So 18MB data is currently cached here.

0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .