Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Jan 2017 02:35:05 +0000 (UTC)
From:      Marcelo Araujo <araujo@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r312856 - stable/11/usr.bin/netstat
Message-ID:  <201701270235.v0R2Z5LD039297@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: araujo
Date: Fri Jan 27 02:35:05 2017
New Revision: 312856
URL: https://svnweb.freebsd.org/changeset/base/312856

Log:
  MFC r310698:
  
  Print hostcache usage counts with TCP statistics.
  
  PR:		196252
  Submitted by:	Anton Yuzhaninov <citrin+pr@citrin.ru>
  MFC after:	3 weeks.

Modified:
  stable/11/usr.bin/netstat/inet.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/usr.bin/netstat/inet.c
==============================================================================
--- stable/11/usr.bin/netstat/inet.c	Fri Jan 27 01:59:12 2017	(r312855)
+++ stable/11/usr.bin/netstat/inet.c	Fri Jan 27 02:35:05 2017	(r312856)
@@ -750,6 +750,12 @@ tcp_stats(u_long off, const char *name, 
 	    "{N:/ignored RSTs in the window%s}\n");
 	p(tcps_connects, "\t{:connections-established/%ju} "
 	    "{N:/connection%s established (including accepts)}\n");
+	p(tcps_usedrtt, "\t\t{:connections-hostcache-rtt/%ju} "
+	    "{N:/time%s used RTT from hostcache}\n");
+	p(tcps_usedrttvar, "\t\t{:connections-hostcache-rttvar/%ju} "
+	    "{N:/time%s used RTT variance from hostcache}\n");
+	p(tcps_usedssthresh, "\t\t{:connections-hostcache-ssthresh/%ju} "
+	    "{N:/time%s used slow-start threshold from hostcache}\n");
 	p2(tcps_closed, tcps_drops, "\t{:connections-closed/%ju} "
 	    "{N:/connection%s closed (including} "
 	    "{:connection-drops/%ju} {N:/drop%s})\n");



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