ns_cache_stats

Name

ns_cache_stats -- Return cache statistics

Syntax

ns_cache_stats cache ?arrayvar?

Description

If no arrayvar is specified, this function returns cache statistics in the following format:

"entries: #   flushed: #   hits: #   misses: #   hitrate: #"

If an arrayvar is specified, this fills the array with the elements: entries, flushed, hits, misses, and hitrates, populated with their corresponding values.