/*
- * $Id: stat.cc,v 1.241 1998/04/20 21:41:22 wessels Exp $
+ * $Id: stat.cc,v 1.242 1998/04/22 05:41:11 wessels Exp $
*
* DEBUG: section 18 Cache Manager Statistics
* AUTHOR: Harvest Derived
static OBJH statAvg5min;
static OBJH statAvg60min;
static OBJH statUtilization;
-static OBJH storeDebugFD;
#ifdef XMALLOC_STATISTICS
static void info_get_mallstat(int, int, StoreEntry *);
}
}
-static void
-storeDebugFD(StoreEntry *s)
-{
- StoreEntry *entry = NULL;
- StoreEntry *next = NULL;
- MemObject *mem;
- next = (StoreEntry *) hash_first(store_table);
- while ((entry = next) != NULL) {
- next = (StoreEntry *) hash_next(store_table);
- mem = entry->mem_obj;
- if (!mem)
- continue;
- if (mem->swapout.fd < 0)
- continue;
- statStoreEntry(s, entry);
- }
-}
-
static void
stat_objects_get(StoreEntry * e)
{
"Display cache metrics graphically",
statGraphDump, 0);
#endif
- cachemgrRegister("debug-openfd",
- "Debugging Open Swapout FDs",
- storeDebugFD, 0);
}
static void