From 2e8e29b8cd94de6f348bcf3cad710ea38f6edc9d Mon Sep 17 00:00:00 2001 From: wessels <> Date: Wed, 25 Mar 1998 12:50:41 +0000 Subject: [PATCH] add icp.replies_queued counter to stat outputs --- src/stat.cc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/stat.cc b/src/stat.cc index af8a685f97..43553e7ef4 100644 --- a/src/stat.cc +++ b/src/stat.cc @@ -1,6 +1,6 @@ /* - * $Id: stat.cc,v 1.218 1998/03/16 23:10:38 wessels Exp $ + * $Id: stat.cc,v 1.219 1998/03/25 05:50:41 wessels Exp $ * * DEBUG: section 18 Cache Manager Statistics * AUTHOR: Harvest Derived @@ -453,6 +453,8 @@ info_get(StoreEntry * sentry) Counter.icp.pkts_recv); storeAppendPrintf(sentry, "\tNumber of ICP messages sent:\t%u\n", Counter.icp.pkts_sent); + storeAppendPrintf(sentry, "\tNumber of queued ICP replies:\t%u\n", + Counter.icp.replies_queued); storeAppendPrintf(sentry, "\tRequest failure ratio:\t%5.2f%%\n", request_failure_ratio); @@ -666,6 +668,8 @@ statAvgDump(StoreEntry * sentry, int minutes, int hours) XAVG(icp.pkts_sent)); storeAppendPrintf(sentry, "icp.pkts_recv = %f/sec\n", XAVG(icp.pkts_recv)); + storeAppendPrintf(sentry, "icp.replies_queued = %f/sec\n", + XAVG(icp.replies_queued)); storeAppendPrintf(sentry, "icp.kbytes_sent = %f/sec\n", XAVG(icp.kbytes_sent.kb)); storeAppendPrintf(sentry, "icp.kbytes_recv = %f/sec\n", @@ -904,6 +908,8 @@ statCountersDump(StoreEntry * sentry) f->icp.pkts_sent); storeAppendPrintf(sentry, "icp.pkts_recv = %d\n", f->icp.pkts_recv); + storeAppendPrintf(sentry, "icp.replies_queued = %d\n", + f->icp.replies_queued); storeAppendPrintf(sentry, "icp.kbytes_sent = %d\n", (int) f->icp.kbytes_sent.kb); storeAppendPrintf(sentry, "icp.kbytes_recv = %d\n", -- 2.47.3