大网数据广告活动
Windows排障命令

nfsstat

· 52CE 我爱测

Reference article for the nfsstat command, which displays statistical info about the Network File System (NFS) and Remote Procedure Call (RPC) calls.

A command-line utility that displays statistical info about the Network File System (NFS) and Remote Procedure Call (RPC) calls. Used without parameters, this command displays all of the statistical data without resetting anything.

Syntax

nfsstat [-c][-s][-n][-r][-z][-m]

Parameters

Parameter Description
-c Displays only the client-side NFS and RPC and NFS calls sent and rejected by the client. To display NFS or RPC information only, combine this flag with the -n or -r parameter.
-s Displays only the server-side NFS and RPC and NFS calls sent and rejected by the server. To display NFS or RPC information only, combine this flag with the -n or -r parameter.
-m Displays information about mount flags set by mount options, mount flags internal to the system, and other mount information.
-n Displays NFS information for both the client and server. To display only the NFS client or server information, combine this flag with the -c or -s parameter.
-r Displays RPC information for both the client and server. To display only the RPC client or server information, combine this flag with the -c or -s parameter.
-z Resets the call statistics. This flag is only available to the root user and can be combined with any of the other parameters to reset particular sets of statistics after displaying them.

Examples

To display information about the number of RPC and NFS calls sent and rejected by the client, type:

nfsstat -c

To display and print the client NFS call-related information, type:

nfsstat -cn

To display RPC call-related information for both the client and server, type:

nfsstat -r

To display information about the number of RPC and NFS calls received and rejected by the server, type:

nfsstat -s

To reset all call-related information to zero on the client and server, type:

nfsstat -z

Related links

Source: Microsoft Learn / Windows Server documentation by Microsoft and contributors (upstream author metadata: robinharwood). Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Server documentation
适用范围
Windows Server · Source date 10/16/2017
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。