Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm using a 1 GB file storage in my varnish instance, is there a command or anything to get the current usage of that gigabyte?

share|improve this question

You can if you've setup the admin listener.

       -T \
       -f /etc/varnish/default.vcl \
       -s malloc,256MB"

It's the -T line above. I recommend binding it to localhost as it's admin interface. If you want to remote query it you should follow the docs and setup a secret.

varnishadm -T localhost:6082 stats

The above command run from the server should kick out all sort of interesting stats. I'm using in memory so I see SHM stats. I'm not sure what it looks like for disk.

share|improve this answer

Use varnishadm for command line stats. Or if you want something more pretty and digestible, install Munin and grab the Varnish plug-in from Munin Exchange.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.