Hallo, dies ist ein Test.
PWD: /www/data-lst1/unixsoft/unixsoft/kaempfer/.public_html
Running in File Mode
Relative path: ././../../../../../../usr/man/man8/nfsstat.8
Real path: /usr/share/man/man8/nfsstat.8
Zurück
'\" te .\" Copyright (c) 2007, 2021, Oracle and/or its affiliates. .TH nfsstat 8 "11 May 2021" "Oracle Solaris 11.4" "System Administration Commands" .SH NAME nfsstat \- NFS statistics .SH SYNOPSIS .LP .nf \fBnfsstat\fR [\fB-cnrsza\fR] [\fB-T\fR u | d ] [\fB-v\fR \fIversion\fR] [\fIinterval\fR [\fIcount\fR]] .fi .LP .nf \fBnfsstat\fR \fB-m\fR [\fIpathname\fR]... .fi .SH DESCRIPTION .sp .LP \fBnfsstat\fR displays statistical information about the \fBNFS\fR and \fBRPC\fR (Remote Procedure Call), interfaces to the kernel. It can also be used to reinitialize this information. If no options are given the default is as follows: .sp .LP \fBnfsstat\fR \fB-csnra\fR .sp .LP The default displays everything, but reinitializes nothing. .SH OPTIONS .sp .ne 2 .mk .na \fB\fB-a\fR\fR .ad .br .sp .6 .RS 4n Display \fBNFS_ACL\fR information. .RE .sp .ne 2 .mk .na \fB\fB-c\fR\fR .ad .br .sp .6 .RS 4n Display client information. Only the client-side \fBNFS\fR, \fBRPC\fR, and \fBNFS_ACL\fR information is printed. Can be combined with the \fB-n\fR, \fB-r\fR, and \fB-a\fR options to print client-side \fBNFS\fR, \fBRPC\fR, and \fBNFS_ACL\fR information only. .RE .sp .ne 2 .mk .na \fB\fB-m\fR [\fIpathname...\fR]\fR .ad .br .sp .6 .RS 4n Display statistics for each \fBNFS\fR mounted file system. If \fIpathname\fR is not specified, displays statistics for all NFS mounted file systems. If \fIpathname\fR is specified, displays statistics for the NFS mounted file systems indicated by \fIpathname\fR. .sp This includes the server name and address, mount flags, current read and write sizes, the retransmission count, the attribute cache timeout values, failover information, and the timers used for dynamic retransmission. The dynamic retransmission timers are displayed only where dynamic retransmission is in use. By default, \fBNFS\fR mounts over the \fBTCP\fR protocols and \fBNFS\fR Version 3 mounts over either \fBTCP\fR or \fBUDP\fR do not use dynamic retransmission. .sp If you specify the \fB-m\fR option, this is the only option that \fBnfsstat\fR uses. If you specify other options with \fB-m\fR, you receive an error message alerting that the \fB-m\fR flag cannot be combined with other options. .RE .sp .ne 2 .mk .na \fB\fB-n\fR\fR .ad .br .sp .6 .RS 4n Display \fBNFS\fR information. \fBNFS\fR information for both the client and server side are printed. Can be combined with the \fB-c\fR and \fB-s\fR options to print client or server \fBNFS\fR information only. .RE .sp .ne 2 .mk .na \fB\fB-r\fR\fR .ad .br .sp .6 .RS 4n Display \fBRPC\fR information. .RE .sp .ne 2 .mk .na \fB\fB-s\fR\fR .ad .br .sp .6 .RS 4n Display server information. .RE .sp .ne 2 .mk .na \fB\fB-T\fR \fBu\fR | \fBd\fR\fR .ad .br .sp .6 .RS 4n Display a time stamp. .sp Specify \fBu\fR for a printed representation of the internal representation of time. See \fBtime\fR(2). Specify \fBd\fR for standard date format. See \fBdate\fR(1). .RE .sp .ne 2 .mk .na \fB\fB-v\fR \fIversion\fR\fR .ad .br .sp .6 .RS 4n Specify which NFS version for which to print statistics. When followed by the optional \fIversion\fR argument, (2, 3, 4, 4.0, 4.1), specifies statistics for that version. By default, prints statistics for all versions. '-v 4' will print statistics for both 4.0 and 4.1. .RE .sp .ne 2 .mk .na \fB\fB-z\fR\fR .ad .br .sp .6 .RS 4n Zero (reinitialize) statistics. This option is for use by the super user only, and can be combined with any of the above options to zero particular sets of statistics after printing them. .RE .SH OPERANDS .sp .LP The following operands are supported: .sp .ne 2 .mk .na \fB\fIcount\fR\fR .ad .br .sp .6 .RS 4n Display only count reports .RE .sp .ne 2 .mk .na \fB\fIinterval\fR\fR .ad .br .sp .6 .RS 4n Report once each interval seconds. .RE .sp .ne 2 .mk .na \fB\fIpathname\fR\fR .ad .br .sp .6 .RS 4n Specify the pathname of a file in an NFS mounted file system for which statistics are to be displayed. .RE .SH DISPLAYS .sp .LP The server \fBRPC\fR display includes the following fields: .sp .ne 2 .mk .na \fB\fBbadcalls\fR\fR .ad .br .sp .6 .RS 4n The total number of calls rejected by the \fBRPC\fR layer (the sum of \fBbadlen\fR and \fBxdrcall\fR as defined below). .RE .sp .ne 2 .mk .na \fB\fBbadlen\fR\fR .ad .br .sp .6 .RS 4n The number of \fBRPC\fR calls with a length shorter than a minimum-sized \fBRPC\fR call. .RE .sp .ne 2 .mk .na \fB\fBcalls\fR\fR .ad .br .sp .6 .RS 4n The total number of \fBRPC\fR calls received. .RE .sp .ne 2 .mk .na \fB\fBdupchecks\fR\fR .ad .br .sp .6 .RS 4n The number of \fBRPC\fR calls that looked up in the duplicate request cache. .RE .sp .ne 2 .mk .na \fB\fBdupreqs\fR\fR .ad .br .sp .6 .RS 4n The number of \fBRPC\fR calls that were found to be duplicates. .RE .sp .ne 2 .mk .na \fB\fBnullrecv\fR\fR .ad .br .sp .6 .RS 4n The number of times an \fBRPC\fR call was not available when it was thought to be received. .RE .sp .ne 2 .mk .na \fB\fBxdrcall\fR\fR .ad .br .sp .6 .RS 4n The number of \fBRPC\fR calls whose header could not be \fBXDR\fR decoded. .RE .sp .LP The server \fBNFS\fR display shows the number of \fBNFS\fR calls received (\fBcalls\fR) and rejected (\fBbadcalls\fR), and the counts and percentages for the various calls that were made. .sp .LP The server \fBNFS_ACL\fR display shows the counts and percentages for the various calls that were made. .sp .LP The client \fBRPC\fR display includes the following fields: .sp .ne 2 .mk .na \fB\fBcalls\fR\fR .ad .br .sp .6 .RS 4n The total number of \fBRPC\fR calls made. .RE .sp .ne 2 .mk .na \fB\fBbadcalls\fR\fR .ad .br .sp .6 .RS 4n The total number of calls rejected by the \fBRPC\fR layer. .RE .sp .ne 2 .mk .na \fB\fBbadverfs\fR\fR .ad .br .sp .6 .RS 4n The number of times the call failed due to a bad verifier in the response. .RE .sp .ne 2 .mk .na \fB\fBbadxids\fR\fR .ad .br .sp .6 .RS 4n The number of times a reply from a server was received which did not correspond to any outstanding call. .RE .sp .ne 2 .mk .na \fB\fBcantconn\fR\fR .ad .br .sp .6 .RS 4n The number of times the call failed due to a failure to make a connection to the server. .RE .sp .ne 2 .mk .na \fB\fBcantsend\fR\fR .ad .br .sp .6 .RS 4n The number of times a client was unable to send an \fBRPC\fR request over a connectionless transport when it tried to do so. .RE .sp .ne 2 .mk .na \fB\fBinterrupts\fR\fR .ad .br .sp .6 .RS 4n The number of times the call was interrupted by a signal before completing. .RE .sp .ne 2 .mk .na \fB\fBnewcreds\fR\fR .ad .br .sp .6 .RS 4n The number of times authentication information had to be refreshed. .RE .sp .ne 2 .mk .na \fB\fBnomem\fR\fR .ad .br .sp .6 .RS 4n The number of times the call failed due to a failure to allocate memory. .RE .sp .ne 2 .mk .na \fB\fBretrans\fR\fR .ad .br .sp .6 .RS 4n The number of times a call had to be retransmitted due to a timeout while waiting for a reply from the server. Applicable only to \fBRPC\fR over connection-less transports. .RE .sp .ne 2 .mk .na \fB\fBtimeouts\fR\fR .ad .br .sp .6 .RS 4n The number of times a call timed out while waiting for a reply from the server. .RE .sp .ne 2 .mk .na \fB\fBtimers\fR\fR .ad .br .sp .6 .RS 4n The number of times the calculated time-out value was greater than or equal to the minimum specified time-out value for a call. .RE .sp .LP The client \fBNFS\fR display shows the number of calls sent and rejected, as well as the number of times a \fBCLIENT\fR handle was received (\fBclgets\fR), the number of times the \fBCLIENT\fR handle cache had no unused entries (\fBcltoomany\fR), as well as a count of the various calls and their respective percentages. .sp .LP The client \fBNFS_ACL\fR display shows the counts and percentages for the various calls that were made. .sp .LP The \fB-m\fR option includes information about mount flags set by mount options, mount flags internal to the system, and other mount information. See \fBmount_nfs\fR(8). .sp .LP The following mount flags are set by mount options: .sp .ne 2 .mk .na \fB\fBforcedirectio\fR\fR .ad .br .sp .6 .RS 4n Data transferred directly between client and server, with no buffering on client. .RE .sp .ne 2 .mk .na \fB\fBgrpid\fR\fR .ad .br .sp .6 .RS 4n BSD group id inheritance. See description in \fBmount_nfs\fR(8). .RE .sp .ne 2 .mk .na \fB\fBhard\fR\fR .ad .br .sp .6 .RS 4n Hard mount. .RE .sp .ne 2 .mk .na \fB\fBintr\fR\fR .ad .br .sp .6 .RS 4n Interrupts allowed on hard mount. .RE .sp .ne 2 .mk .na \fB\fBllock\fR\fR .ad .br .sp .6 .RS 4n Local locking being used (no lock manager). Note that this is a private interface. .RE .sp .ne 2 .mk .na \fB\fBnoac\fR\fR .ad .br .sp .6 .RS 4n Client is not caching attributes. .RE .sp .ne 2 .mk .na \fB\fBnointr\fR\fR .ad .br .sp .6 .RS 4n No interrupts allowed on hard mount. .RE .sp .ne 2 .mk .na \fB\fBnocto\fR\fR .ad .br .sp .6 .RS 4n No close-to-open consistency. .RE .sp .ne 2 .mk .na \fB\fBretrans\fR\fR .ad .br .sp .6 .RS 4n \fBNFS\fR retransmissions. .RE .sp .ne 2 .mk .na \fB\fBrpctimesync\fR\fR .ad .br .sp .6 .RS 4n \fBRPC\fR time sync. .RE .sp .ne 2 .mk .na \fB\fBrsize\fR\fR .ad .br .sp .6 .RS 4n Read buffer size in bytes. .RE .sp .ne 2 .mk .na \fB\fBsec\fR\fR .ad .br .sp .6 .RS 4n \fBsec\fR has one of the following values: .sp .ne 2 .mk .na \fB\fBdh\fR\fR .ad .br .sp .6 .RS 4n \fBdes\fR-style authentication (encrypted timestamps). .RE .sp .ne 2 .mk .na \fB\fBkrb5\fR\fR .ad .br .sp .6 .RS 4n \fBkerberos v5\fR-style authentication. .RE .sp .ne 2 .mk .na \fB\fBkrb5i\fR\fR .ad .br .sp .6 .RS 4n \fBkerberos v5\fR-style authentication with integrity. .RE .sp .ne 2 .mk .na \fB\fBkrb5p\fR\fR .ad .br .sp .6 .RS 4n \fBkerberos v5\fR-style authentication with privacy. .RE .sp .ne 2 .mk .na \fB\fBnone\fR\fR .ad .br .sp .6 .RS 4n No authentication. .RE .sp .ne 2 .mk .na \fB\fBshort\fR\fR .ad .br .sp .6 .RS 4n Short hand UNIX-style authentication. .RE .sp .ne 2 .mk .na \fB\fBsys\fR\fR .ad .br .sp .6 .RS 4n UNIX-style authentication (UID, GID). .RE .RE .sp .ne 2 .mk .na \fB\fBsoft\fR\fR .ad .br .sp .6 .RS 4n Soft mount. .RE .sp .ne 2 .mk .na \fB\fBtimeo\fR\fR .ad .br .sp .6 .RS 4n Initial \fBNFS\fR timeout, in tenths of a second. .RE .sp .ne 2 .mk .na \fB\fBwsize\fR\fR .ad .br .sp .6 .RS 4n Write buffer size in bytes. .RE .sp .LP The following mount flags are internal to the system: .sp .ne 2 .mk .na \fB\fBacl\fR\fR .ad .br .sp .6 .RS 4n Server supports \fBNFS_ACL\fR and \fBnoacl\fR mount flag was not set by mount options. .RE .sp .ne 2 .mk .na \fB\fBdown\fR\fR .ad .br .sp .6 .RS 4n Server is down. .RE .sp .ne 2 .mk .na \fB\fBdynamic\fR\fR .ad .br .sp .6 .RS 4n Dynamic transfer size adjustment. .RE .sp .ne 2 .mk .na \fB\fBlink\fR\fR .ad .br .sp .6 .RS 4n Server supports links. .RE .sp .ne 2 .mk .na \fB\fBmirrormount\fR\fR .ad .br .sp .6 .RS 4n Mounted automatically by means of the \fBmirrormount\fR mechanism. .RE .sp .ne 2 .mk .na \fB\fBprinted\fR\fR .ad .br .sp .6 .RS 4n "Not responding" message printed. .RE .sp .ne 2 .mk .na \fB\fBreaddironly\fR\fR .ad .br .sp .6 .RS 4n Use \fBreaddir\fR instead of \fBreaddirplus\fR. .RE .sp .ne 2 .mk .na \fB\fBreferral\fR\fR .ad .br .sp .6 .RS 4n Mounted automatically by means of the referral mechanism. .RE .sp .ne 2 .mk .na \fB\fBsymlink\fR\fR .ad .br .sp .6 .RS 4n Server supports symbolic links. .RE .sp .ne 2 .mk .na \fB\fBxattr\fR\fR .ad .br .sp .6 .RS 4n Server supports extended attributes over \fBNFS_ACL\fR. .RE .sp .LP The following flags relate to additional mount information: .sp .ne 2 .mk .na \fB\fBproto\fR\fR .ad .br .sp .6 .RS 4n Transport protocol. .RE .sp .ne 2 .mk .na \fB\fBvers\fR\fR .ad .br .sp .6 .RS 4n \fBNFS\fR version. .RE .sp .ne 2 .mk .na \fB\fBmvers\fR\fR .ad .br .sp .6 .RS 4n NFSv4 minor version. .RE .sp .LP The \fB-m\fR option also provides attribute cache timeout values. The following fields in \fB-m\fR output provide timeout values for attribute cache: .sp .ne 2 .mk .na \fB\fBacdirmax\fR\fR .ad .br .sp .6 .RS 4n Maximum seconds to hold cached directory attributes. .RE .sp .ne 2 .mk .na \fB\fBacdirmin\fR\fR .ad .br .sp .6 .RS 4n Minimum seconds to hold cached directory attributes. .RE .sp .ne 2 .mk .na \fB\fBacregmax\fR\fR .ad .br .sp .6 .RS 4n Maximum seconds to hold cached file attributes. .RE .sp .ne 2 .mk .na \fB\fBacregmin\fR\fR .ad .br .sp .6 .RS 4n Minimum seconds to hold cached file attributes. .RE .sp .LP The following fields in \fB-m\fR output provide failover information: .sp .ne 2 .mk .na \fB\fBcurrserver\fR\fR .ad .br .sp .6 .RS 4n Which server is currently providing \fBNFS\fR service. .RE .sp .ne 2 .mk .na \fB\fBfailover\fR\fR .ad .br .sp .6 .RS 4n How many times a new server has been selected. .RE .sp .ne 2 .mk .na \fB\fBnoresponse\fR\fR .ad .br .sp .6 .RS 4n How many times servers have failed to respond. .RE .sp .ne 2 .mk .na \fB\fBremap\fR\fR .ad .br .sp .6 .RS 4n How many times files have been re-evaluated to the new server. .RE .sp .LP The following fields in \fB-m\fR output provide RDMA transport information: .sp .ne 2 .mk .na \fB\fBplugin\fR\fR .ad .RS 10n .rt The transport plugin being used. .RE .sp .LP The fields in \fB-m\fR output shown below provide information on dynamic retransmissions. These items are displayed only where dynamic retransmission is in use. .sp .ne 2 .mk .na \fB\fBcur\fR\fR .ad .br .sp .6 .RS 4n Current backed-off retransmission value, in milliseconds. .RE .sp .ne 2 .mk .na \fB\fBdev\fR\fR .ad .br .sp .6 .RS 4n Estimated deviation, in milliseconds. .RE .sp .ne 2 .mk .na \fB\fBsrtt\fR\fR .ad .br .sp .6 .RS 4n The value for the smoothed round-trip time, in milliseconds. .RE .SH EXIT STATUS .sp .LP The following exit values are returned: .sp .ne 2 .mk .na \fB\fB0\fR\fR .ad .br .sp .6 .RS 4n Successful completion. .RE .sp .ne 2 .mk .na \fB\fB>0\fR\fR .ad .br .sp .6 .RS 4n An error occurred. .RE .SH ATTRIBUTES .sp .LP See \fBattributes\fR(7) for descriptions of the following attributes: .sp .TS tab( ) box; cw(2.75i) |cw(2.75i) lw(2.75i) |lw(2.75i) . ATTRIBUTE TYPE ATTRIBUTE VALUE _ Availability system/file-system/nfs .TE .sp .SH SEE ALSO .sp .LP \fBattributes\fR(7), \fBmount_nfs\fR(8)