Tcl API Reference -- ns_cache_stats

### ns_cache_stats

#### Overview

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.

Top of Page
Copyright © 1998-99 America Online, Inc.