Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Oct 2010 05:15:27 +0000 (UTC)
From:      Ruslan Ermilov <ru@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r213440 - head/usr.bin/netstat
Message-ID:  <201010050515.o955FRLh040416@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ru
Date: Tue Oct  5 05:15:27 2010
New Revision: 213440
URL: http://svn.freebsd.org/changeset/base/213440

Log:
  Show hostcache statistics.
  
  Submitted by:	Maxim Dounin

Modified:
  head/usr.bin/netstat/inet.c

Modified: head/usr.bin/netstat/inet.c
==============================================================================
--- head/usr.bin/netstat/inet.c	Mon Oct  4 23:30:44 2010	(r213439)
+++ head/usr.bin/netstat/inet.c	Tue Oct  5 05:15:27 2010	(r213440)
@@ -690,6 +690,9 @@ tcp_stats(u_long off, const char *name, 
 	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");



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201010050515.o955FRLh040416>