Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Disk space used by squid.

    pfSense Packages
    3
    4
    1.6k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C
      crazyzoar Banned
      last edited by

      is it possible to see the disk(mb) used by cache data by using any thing?????

      1 Reply Last reply Reply Quote 0
      • L
        luke240778
        last edited by

        Yes, quite easy actually.. you just need to SSH into your box (use PutTy or something similar)

        Then select number 8 to access the Shell

        browse to the squid directory:
        cd /var/squid/

        To see the size of the whole cache folder run this command:
        du -h cache

        This will go through the whole directory and then show you a total size at the end.

        1 Reply Last reply Reply Quote 0
        • jimpJ
          jimp Rebel Alliance Developer Netgate
          last edited by

          FYI- you don't need to use ssh or the console for that, you can use Diagnostics > Command and if you just want to know the total size of the whole cache (+swap.state), run:

          du -hkd 0 /var/squid/cache
          

          Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

          Need help fast? Netgate Global Support!

          Do not Chat/PM for help!

          1 Reply Last reply Reply Quote 0
          • L
            luke240778
            last edited by

            even easier.. nice one.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.