summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2003-01-15 21:25:44 +0000
committermillert <millert@openbsd.org>2003-01-15 21:25:44 +0000
commitbe5b64ee498c2e59748dcc96061fd4088de49d92 (patch)
treeebdd4606bf01a9246fa32aa1138010a1732b6081
parentcope with nfs being last in the list (diff)
downloadwireguard-openbsd-be5b64ee498c2e59748dcc96061fd4088de49d92.tar.xz
wireguard-openbsd-be5b64ee498c2e59748dcc96061fd4088de49d92.zip
Don't report NQNFS stats, we don't do NQNFS anymore.
-rw-r--r--usr.bin/nfsstat/nfsstat.c11
1 files changed, 2 insertions, 9 deletions
diff --git a/usr.bin/nfsstat/nfsstat.c b/usr.bin/nfsstat/nfsstat.c
index f4f8182808c..b58102ea5ab 100644
--- a/usr.bin/nfsstat/nfsstat.c
+++ b/usr.bin/nfsstat/nfsstat.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: nfsstat.c,v 1.14 2003/01/15 21:20:03 deraadt Exp $ */
+/* $OpenBSD: nfsstat.c,v 1.15 2003/01/15 21:25:44 millert Exp $ */
/* $NetBSD: nfsstat.c,v 1.7 1996/03/03 17:21:30 thorpej Exp $ */
/*
@@ -48,7 +48,7 @@ static char copyright[] =
static char sccsid[] = "from: @(#)nfsstat.c 8.1 (Berkeley) 6/6/93";
static char *rcsid = "$NetBSD: nfsstat.c,v 1.7 1996/03/03 17:21:30 thorpej Exp $";
#else
-static char *rcsid = "$OpenBSD: nfsstat.c,v 1.14 2003/01/15 21:20:03 deraadt Exp $";
+static char *rcsid = "$OpenBSD: nfsstat.c,v 1.15 2003/01/15 21:25:44 millert Exp $";
#endif
#endif /* not lint */
@@ -334,13 +334,6 @@ intpr(display)
nfsstats.srvcache_idemdonehits,
nfsstats.srvcache_nonidemdonehits,
nfsstats.srvcache_misses);
- printf("Server Lease Stats:\n");
- printf("%9.9s %9.9s %9.9s\n",
- "Leases", "PeakL", "GLeases");
- printf("%9d %9d %9d\n",
- nfsstats.srvnqnfs_leases,
- nfsstats.srvnqnfs_maxleases,
- nfsstats.srvnqnfs_getleases);
printf("Server Write Gathering:\n");
printf("%9.9s %9.9s %9.9s\n",
"WriteOps", "WriteRPC", "Opsaved");