svn commit: r312856 - stable/11/usr.bin/netstat
Marcelo Araujo
araujo at FreeBSD.org
Fri Jan 27 02:35:06 UTC 2017
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 at 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");
More information about the svn-src-stable-11
mailing list