]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
in 'client_list' cachemgr output, remove the percentage from the FETCHES
authorwessels <>
Fri, 14 Feb 2003 03:52:42 +0000 (03:52 +0000)
committerwessels <>
Fri, 14 Feb 2003 03:52:42 +0000 (03:52 +0000)
line. It is no longer menaingful because fetches is incremented for
non-ICP based forwarding decisions.  Also moved FETCHES to the
top of the output with other "TCP-ish" stats and out of the "UDP-ish"
stats section.

src/neighbors.cc

index e423c0b8455bf7a25956ece19d60da37abc6cc4f..3b001c85bdb5ed27cba51246329e8039fb6fe2c6 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: neighbors.cc,v 1.311 2003/02/12 06:11:04 robertc Exp $
+ * $Id: neighbors.cc,v 1.312 2003/02/13 20:52:42 wessels Exp $
  *
  * DEBUG: section 15    Neighbor Routines
  * AUTHOR: Harvest Derived
@@ -1329,8 +1329,9 @@ dump_peers(StoreEntry * sentry, peer * peers)
        }
        storeAppendPrintf(sentry, "Status     : %s\n",
            neighborUp(e) ? "Up" : "Down");
-       storeAppendPrintf(sentry, "AVG RTT    : %d msec\n", e->stats.rtt);
+       storeAppendPrintf(sentry, "FETCHES    : %d\n", e->stats.fetches);
        storeAppendPrintf(sentry, "OPEN CONNS : %d\n", e->stats.conn_open);
+       storeAppendPrintf(sentry, "AVG RTT    : %d msec\n", e->stats.rtt);
        storeAppendPrintf(sentry, "LAST QUERY : %8d seconds ago\n",
            (int) (squid_curtime - e->stats.last_query));
        storeAppendPrintf(sentry, "LAST REPLY : %8d seconds ago\n",
@@ -1339,9 +1340,6 @@ dump_peers(StoreEntry * sentry, peer * peers)
        storeAppendPrintf(sentry, "PINGS ACKED: %8d %3d%%\n",
            e->stats.pings_acked,
            percent(e->stats.pings_acked, e->stats.pings_sent));
-       storeAppendPrintf(sentry, "FETCHES    : %8d %3d%%\n",
-           e->stats.fetches,
-           percent(e->stats.fetches, e->stats.pings_acked));
        storeAppendPrintf(sentry, "IGNORED    : %8d %3d%%\n",
            e->stats.ignored_replies,
            percent(e->stats.ignored_replies, e->stats.pings_acked));