Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Apr 2011 07:54:21 +0000 (UTC)
From:      Ruslan Ermilov <ru@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject:   svn commit: r220820 - stable/8/usr.bin/nfsstat
Message-ID:  <201104190754.p3J7sL5q099076@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ru
Date: Tue Apr 19 07:54:21 2011
New Revision: 220820
URL: http://svn.freebsd.org/changeset/base/220820

Log:
  MFC r220596: Show client's access cache statistics.

Modified:
  stable/8/usr.bin/nfsstat/nfsstat.c
Directory Properties:
  stable/8/usr.bin/nfsstat/   (props changed)

Modified: stable/8/usr.bin/nfsstat/nfsstat.c
==============================================================================
--- stable/8/usr.bin/nfsstat/nfsstat.c	Tue Apr 19 07:53:04 2011	(r220819)
+++ stable/8/usr.bin/nfsstat/nfsstat.c	Tue Apr 19 07:54:21 2011	(r220820)
@@ -325,14 +325,15 @@ intpr(int clientOnly, int serverOnly)
 			nfsstats.write_bios);
 		printf("%9.9s %9.9s %9.9s %9.9s",
 			"BioRLHits", "Misses", "BioD Hits", "Misses");
-		printf(" %9.9s %9.9s\n", "DirE Hits", "Misses");
+		printf(" %9.9s %9.9s %9.9s %9.9s\n", "DirE Hits", "Misses", "Accs Hits", "Misses");
 		printf("%9d %9d %9d %9d",
 			nfsstats.biocache_readlinks-nfsstats.readlink_bios,
 			nfsstats.readlink_bios,
 			nfsstats.biocache_readdirs-nfsstats.readdir_bios,
 			nfsstats.readdir_bios);
-		printf(" %9d %9d\n",
-			nfsstats.direofcache_hits, nfsstats.direofcache_misses);
+		printf(" %9d %9d %9d %9d\n",
+			nfsstats.direofcache_hits, nfsstats.direofcache_misses,
+			nfsstats.accesscache_hits, nfsstats.accesscache_misses);
 	}
 	if (serverOnly && !nfsrvstatsp) {
 		printf("Server not present!\n");



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