• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
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 Dec 13, 2011, 7:35 PM

    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 Dec 15, 2011, 4:06 AM

      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
      • J
        jimp Rebel Alliance Developer Netgate
        last edited by Dec 19, 2011, 3:41 PM

        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 Dec 23, 2011, 12:05 AM

          even easier.. nice one.

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