Difference between revisions of "Ns cache size"
Jump to navigation
Jump to search
(New page: '''NAME''' : '''ns_cache_size''' − Returns maximum and current size of a cache '''SYNOPSIS''' : '''ns_cache_size''' ''cachename'' '''DESCRIPTION''' : Returns two space-separated number...) |
(No difference)
|
Latest revision as of 01:50, 27 October 2009
NAME
- ns_cache_size − Returns maximum and current size of a cache
SYNOPSIS
- ns_cache_size cachename
DESCRIPTION
- Returns two space-separated numbers, the defined maximum size and the current size of a given cache. The size of the cache is the sum of the sizes of all the values in the cache; keys do not count toward a cache's size. If inserting a value into the cache makes the size of the cache exceed its maximum, then cache entries are evicted starting with the least-recently used entry until the size is below the maximum size (or until only the new value remains in the cache).
SEE ALSO