19b50d902SRodney W. Grimes.\" Copyright (c) 1989, 1990, 1993 29b50d902SRodney W. Grimes.\" The Regents of the University of California. All rights reserved. 39b50d902SRodney W. Grimes.\" 49b50d902SRodney W. Grimes.\" Redistribution and use in source and binary forms, with or without 59b50d902SRodney W. Grimes.\" modification, are permitted provided that the following conditions 69b50d902SRodney W. Grimes.\" are met: 79b50d902SRodney W. Grimes.\" 1. Redistributions of source code must retain the above copyright 89b50d902SRodney W. Grimes.\" notice, this list of conditions and the following disclaimer. 99b50d902SRodney W. Grimes.\" 2. Redistributions in binary form must reproduce the above copyright 109b50d902SRodney W. Grimes.\" notice, this list of conditions and the following disclaimer in the 119b50d902SRodney W. Grimes.\" documentation and/or other materials provided with the distribution. 129b50d902SRodney W. Grimes.\" 4. Neither the name of the University nor the names of its contributors 139b50d902SRodney W. Grimes.\" may be used to endorse or promote products derived from this software 149b50d902SRodney W. Grimes.\" without specific prior written permission. 159b50d902SRodney W. Grimes.\" 169b50d902SRodney W. Grimes.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 179b50d902SRodney W. Grimes.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 189b50d902SRodney W. Grimes.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 199b50d902SRodney W. Grimes.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 209b50d902SRodney W. Grimes.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 219b50d902SRodney W. Grimes.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 229b50d902SRodney W. Grimes.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 239b50d902SRodney W. Grimes.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 249b50d902SRodney W. Grimes.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 259b50d902SRodney W. Grimes.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 269b50d902SRodney W. Grimes.\" SUCH DAMAGE. 279b50d902SRodney W. Grimes.\" 2807e532e7SGarrett Wollman.\" From: @(#)nfsstat.1 8.1 (Berkeley) 6/6/93 29c3aac50fSPeter Wemm.\" $FreeBSD$ 309b50d902SRodney W. Grimes.\" 31*af3ed447SRick Macklem.Dd May 1, 2013 329b50d902SRodney W. Grimes.Dt NFSSTAT 1 3362500372SRuslan Ermilov.Os 349b50d902SRodney W. Grimes.Sh NAME 359b50d902SRodney W. Grimes.Nm nfsstat 369b50d902SRodney W. Grimes.Nd display 379b50d902SRodney W. Grimes.Tn NFS 389b50d902SRodney W. Grimesstatistics 399b50d902SRodney W. Grimes.Sh SYNOPSIS 4093e0d62dSJohn-Mark Gurney.Nm 41a3ef3692SRick Macklem.Op Fl cemoszW 429b50d902SRodney W. Grimes.Op Fl M Ar core 439b50d902SRodney W. Grimes.Op Fl N Ar system 449b50d902SRodney W. Grimes.Op Fl w Ar wait 459b50d902SRodney W. Grimes.Sh DESCRIPTION 4693e0d62dSJohn-Mark GurneyThe 4793e0d62dSJohn-Mark Gurney.Nm 4893e0d62dSJohn-Mark Gurneycommand displays statistics kept about 499b50d902SRodney W. Grimes.Tn NFS 509b50d902SRodney W. Grimesclient and server activity. 51*af3ed447SRick MacklemFor the NFSv4 server, the statistics are for operations within the Compound 52*af3ed447SRick MacklemRPCs and not the count of RPCs. 53*af3ed447SRick MacklemIf you wish to compare RPC counts between NFSv3 and NFSv4, you must use 54*af3ed447SRick Macklemstatistics in the client(s). 559b50d902SRodney W. Grimes.Pp 569b50d902SRodney W. GrimesThe options are as follows: 57906d8141SRuslan Ermilov.Bl -tag -width indent 58eb12e836SDavid E. O'Brien.It Fl c 59906d8141SRuslan ErmilovOnly display client side statistics. 60f90f8f00SRick Macklem.It Fl e 61f90f8f00SRick MacklemReport the extra statistics collected by the new NFS client and 62f90f8f00SRick Macklemserver for NFSv4. 63f90f8f00SRick MacklemThis option is incompatible with 64f90f8f00SRick Macklem.Fl o . 659b50d902SRodney W. Grimes.It Fl M 669b50d902SRodney W. GrimesExtract values associated with the name list from the specified core 679b50d902SRodney W. Grimesinstead of the default 689b50d902SRodney W. Grimes.Pa /dev/kmem . 69a3ef3692SRick Macklem.It Fl m 70a3ef3692SRick MacklemReport the mount options for all new NFS client mounts. 71a3ef3692SRick MacklemThis option overrides all others and 72a3ef3692SRick Macklem.Nm 73a3ef3692SRick Macklemwill exit after completing the report. 74a3ef3692SRick MacklemThis option is only supported by the new NFS client. 759b50d902SRodney W. Grimes.It Fl N 769b50d902SRodney W. GrimesExtract the name list from the specified system instead of the default 771063e126SJosef Karthauser.Pa /boot/kernel/kernel . 78f90f8f00SRick Macklem.It Fl o 79fe3ea03aSRuslan ErmilovReport statistics for the old NFS client and/or server. 80fe3ea03aSRuslan ErmilovWithout this 81f90f8f00SRick Macklemoption statistics for the new NFS client and/or server will be reported. 82eb12e836SDavid E. O'Brien.It Fl s 83906d8141SRuslan ErmilovOnly display server side statistics. 844893ef0bSMatthew Dillon.It Fl W 856a3e8b0aSRuslan ErmilovUse wide format with interval short summary. 866a3e8b0aSRuslan ErmilovThis option is especially 87906d8141SRuslan Ermilovuseful when combined with 88906d8141SRuslan Ermilov.Fl c 89906d8141SRuslan Ermilovor 90906d8141SRuslan Ermilov.Fl s 91906d8141SRuslan Ermilovand a time delay. 929b50d902SRodney W. Grimes.It Fl w 939b50d902SRodney W. GrimesDisplay a shorter summary of 949b50d902SRodney W. Grimes.Tn NFS 959b50d902SRodney W. Grimesactivity for both the client and server at 969b50d902SRodney W. Grimes.Ar wait 979b50d902SRodney W. Grimessecond intervals. 98813947b7SJohn Baldwin.It Fl z 99813947b7SJohn BaldwinReset statistics after displaying them. 1009b50d902SRodney W. Grimes.El 1019b50d902SRodney W. Grimes.Sh FILES 102906d8141SRuslan Ermilov.Bl -tag -width ".Pa /boot/kernel/kernel" -compact 1031063e126SJosef Karthauser.It Pa /boot/kernel/kernel 1049b50d902SRodney W. Grimesdefault kernel namelist 1059b50d902SRodney W. Grimes.It Pa /dev/kmem 1069b50d902SRodney W. Grimesdefault memory file 1079b50d902SRodney W. Grimes.El 1089b50d902SRodney W. Grimes.Sh SEE ALSO 1099b50d902SRodney W. Grimes.Xr fstat 1 , 1109b50d902SRodney W. Grimes.Xr netstat 1 , 1119b50d902SRodney W. Grimes.Xr ps 1 , 1129b50d902SRodney W. Grimes.Xr systat 1 , 11307e532e7SGarrett Wollman.Xr sysctl 3 , 1149b50d902SRodney W. Grimes.Xr iostat 8 , 115bcdaa850SRick Macklem.Xr nfsdumpstate 8 , 1169b50d902SRodney W. Grimes.Xr pstat 8 , 117270d3d75SMike Pritchard.Xr vmstat 8 1189b50d902SRodney W. Grimes.Sh HISTORY 1199b50d902SRodney W. GrimesThe 12093e0d62dSJohn-Mark Gurney.Nm 12193e0d62dSJohn-Mark Gurneycommand appeared in 1229b50d902SRodney W. Grimes.Bx 4.4 . 123