diff options
author | ru <ru@FreeBSD.org> | 2010-10-05 05:15:27 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2010-10-05 05:15:27 +0000 |
commit | 07c7ca7c366d860131106658c7d6bc84e0e1738c (patch) | |
tree | 9a02b58ac9ee84995dbf2e582cd1286593f53f39 | |
parent | 1dfd3315ec0f90919b1b5e9d3aa3d00dd3c2e2f9 (diff) | |
download | FreeBSD-src-07c7ca7c366d860131106658c7d6bc84e0e1738c.zip FreeBSD-src-07c7ca7c366d860131106658c7d6bc84e0e1738c.tar.gz |
Show hostcache statistics.
Submitted by: Maxim Dounin
-rw-r--r-- | usr.bin/netstat/inet.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/usr.bin/netstat/inet.c b/usr.bin/netstat/inet.c index 65884ad..a975287 100644 --- a/usr.bin/netstat/inet.c +++ b/usr.bin/netstat/inet.c @@ -690,6 +690,9 @@ tcp_stats(u_long off, const char *name, int af1 __unused, int proto __unused) p(tcps_sc_sendcookie, "\t%lu cookie%s sent\n"); p(tcps_sc_recvcookie, "\t%lu cookie%s received\n"); + p(tcps_hc_added, "\t%lu hostcache entrie%s added\n"); + p1a(tcps_hc_bucketoverflow, "\t\t%lu bucket overflow\n"); + p(tcps_sack_recovery_episode, "\t%lu SACK recovery episode%s\n"); p(tcps_sack_rexmits, "\t%lu segment rexmit%s in SACK recovery episodes\n"); |