Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Jun 2017 20:09:23 +0000 (UTC)
From:      Rick Macklem <rmacklem@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r320323 - head/usr.bin/nfsstat
Message-ID:  <201706242009.v5OK9NHx093004@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rmacklem
Date: Sat Jun 24 20:09:23 2017
New Revision: 320323
URL: https://svnweb.freebsd.org/changeset/base/320323

Log:
  Add RPC count reporting for the two new RPCs added by r320322.
  
  This is a content change.
  
  PR:		219550
  MFC after:	2 weeks

Modified:
  head/usr.bin/nfsstat/nfsstat.c

Modified: head/usr.bin/nfsstat/nfsstat.c
==============================================================================
--- head/usr.bin/nfsstat/nfsstat.c	Sat Jun 24 20:01:21 2017	(r320322)
+++ head/usr.bin/nfsstat/nfsstat.c	Sat Jun 24 20:09:23 2017	(r320323)
@@ -926,6 +926,13 @@ exp41_intpr(int clientOnly, int serverOnly)
 		    (uintmax_t)ext_nfsstats.rpccnt[NFSPROC_COMMITDS]);
 		if (printtitle)
 			printf(
+			    "%12.12s %12.12s\n",
+			    "OpenLayout", "CreateLayout");
+		printf("%12ju %12ju\n",
+		    (uintmax_t)ext_nfsstats.rpccnt[NFSPROC_OPENLAYGET],
+		    (uintmax_t)ext_nfsstats.rpccnt[NFSPROC_CREATELAYGET]);
+		if (printtitle)
+			printf(
 			    "%12.12s %12.12s %12.12s %12.12s %12.12s %12.12s\n",
 			    "OpenOwner", "Opens", "LockOwner", "Locks",
 			    "Delegs", "LocalOwn");



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