how to examine the already usage amount of varnish cache memory or file

Xianzhe Wang wxz19861013 at
Thu Feb 21 07:39:51 CET 2013

Thank you for help.

I have used
./varnishstat -1
to show varnish statistics.
But I didn't see that.

s_bodybytes              62818        28.53 Total body bytes
but "s_bodybytes is bytes of object body sent to the clients".

I am trying to get bytes of cache objects(alive, not expired) in varnish
cache, in order to insure  how many space is idle so I can insert more
cache objects.

could you tell me which field is what I'm looking exactly?
Thank you again.


2013/2/21 Paul A. Procacci <pprocacci at>

> On Thu, Feb 21, 2013 at 11:21:08AM +0800, Xianzhe Wang wrote:
> > In order to test my varnish sever, I wanna to know how:
> > many bytes the total cache objects(alive, not out of date) have taken?
>  Is
> > my cache storage file empty or full?
> > So are there any order can show this information?
> varnishstat(1) is what you are looking for.
> ~Paul
> ________________________________
> This message may contain confidential or privileged information. If you
> are not the intended recipient, please advise us immediately and delete
> this message. See for
> further information on confidentiality and the risks of non-secure
> electronic communication. If you cannot access these links, please notify
> us by reply message and we will send the contents to you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the varnish-misc mailing list