How to calculate cache file usage (for Nagios monitoring) in varnish 3?
ottolski at web.de
Mon Feb 18 14:35:39 CET 2013
Am Montag, 18. Februar 2013, 14:14:41 schrieb Dag Haavi Finstad:
> You can accomplish this by looking at SMF.s0.g_bytes and
> g_bytes is the amount of memory currently in use, g_space is what's
> available. The sum of the two will equal the configured storage size.
> To get "fill level" as a percentage, do g_bytes / (g_bytes + g_space).
great, thanks a lot!
More information about the varnish-misc