nfsstat.8nfs
来自「<B>Digital的Unix操作系统VAX 4.2源码</B>」· 8NFS 代码 · 共 238 行
8NFS
238 行
.\" SCCSID: @(#)nfsstat.8nfs 8.1 9/11/90.TH nfsstat 8nfs.SH Namenfsstat \- display Network File System (NFS) statistics.SH Syntax.B /usr/etc/nfsstat [.B \-cnrsz][ \fBvmunix.\fIn\fR ][ \fBcore.\fIn\fR ].SH Description.NXR "nfsstat command".NXS "Network File System" "NFS".NXS "Remote Procedure Call" "RPC".NXR "NFS" "displaying statistics".NXR "RPC" "displaying statistics"The.PN nfsstatcommand displays statistical information about theNetwork File System (NFS) andRemote Procedure Call (RPC) interfaces in the kernel.It can also be used to reinitialize this information.If you do not specify any options,.PN nfsstat displays the information as though all the options werespecified, but.PN \-z ..PPThe statistics are reinitialized to zero each time the systemreboots..SH Options.TP 10.B \-cDisplay the client information.The client side NFS and RPC information is displayed.You can combine this option with the.PN \-nand.PN \-roptions to print client NFS or client RPC information only..TP.B \-sDisplay the server information.The server side NFS and RPC informationis displayed..TP.B \-nDisplay the NFS information.The NFS information for both the client and server side is displayed.You can combine this option with the.PN \-cand.PN \-soptions to print client or server NFS information only..TP.B \-rDisplay the RPC information.The RPC information for both the client and server side is displayed.You can combine the.PN \-roption with the.PN \-c and.PN \-s options to print client or server RPC information only..TP.B \-zReinitialize the statistics to zero.You can combine this option with any of the above options to reset particular sets of statistics to zero after printing them.You must have write permission on .PN /dev/kmemto use this option..TP\fBcore.\fIn\fRThis is the core image,which is usually stored in the directory.PN /usr/adm/crash .If no.PN coreis specified,the default is.PN /dev/mem ..TP\fBvmunix.\fIn\fRThis is the kernel image,which is usually stored in the directory.PN /usr/adm/crash .If no.PN vmunixis specified,the default is.PN /vmunix ..PPHere is a sample of.PN nfsstatoutput with no options specified:.EX 0# \f(CBnfsstat\f(CWServer rpc:calls badcalls nullrecv badlen xdrcall1312142 0 0 0 0 Server nfs:calls badcalls1312142 0 null getattr setattr root lookup readlink read 0 0% 319612 24% 1220 0% 0 0% 795544 60% 5857 0% 163962 12% wrcache write create remove rename link symlink 0 0% 7294 0% 165 0% 239 0% 75 0% 74 0% 0 0% mkdir rmdir readdir fsstat 0 0% 0 0% 17612 1% 334 0% Client rpc:calls badcalls retrans badxid timeout wait newcred30156 40 256 0 296 0 0 Client nfs:calls badcalls nclget nclsleep30143 40 30156 0 null getattr setattr root lookup readlink read 0 0% 5833 19% 21 0% 0 0% 17630 58% 420 1% 3455 11% wrcache write create remove rename link symlink 0 0% 475 1% 84 0% 10 0% 4 0% 0 0% 0 0% mkdir rmdir readdir fsstat 2 0% 0 0% 1423 4% 786 2% .EEOf the client RPC statistics,each field is as follows:.IP calls 10The total number of client RPC calls successfully begun..IP badcallsThe total number of unsuccessful (badly formed) RPC calls..IP retransThe number of times that RPC calls were transmitted..IP badxidThe number of times a reply transaction ID did not match therequest transaction ID..IP timeoutThe number of times a request was made but not answered..IP waitThe number of times the client system had to sleep becausethe client structure was busy..IP newcredThis field is never used, and is therefore always 0..PPOf the client NFS statistics,each field is as follows:.IP calls 10The total number of client NFS calls successfully begun..IP badcallsThe total number of unsuccessful (badly formed) NFS calls..IP nclgetThe number of times a client structure was successfully acquired.The client structure is where clients keep track of an outstanding RPCcall..IP nclsleepThe number of times all client structures were busy.Since there are six client structures,.PN nclsleepis the number of times that there were six operations inprogress when a seventh one arrived and had to waituntil one of the client structures was freed..PPOf the server RPC statistics,each field is as follows:.IP calls 10The total number of RPC calls received by NFS daemons..IP badcallsThe number of badly formed RPC calls..IP nullrecvThe number of empty RPC calls..IP badlenThe number of RPC calls with too small of a body..IP xdrcallThe number of RPC calls that failed to decode in XDR..PPOf the server NFS statistics,each field is as follows:.IP calls 10The total number of NFS calls dispatched by an NFS daemon..IP badcallsThe number of badly formed NFS requests..PPThe remaining fields provide counts of the completed NFS operations.Here are their descriptions:.IP null 11This is the number of null operations.If the software is working properly,this field should be zero..IP getattrThis is the number of file attributes that were retrieved.In the example above,there were 319,612, or 24% on the server..IP setattrThis is the number of file attributes that were stored..IP rootThis field is not used and should always be zero..IP lookupThis is the number of times that a directory pathname was looked up..IP readlinkThis is the number of times a symbolic link was read..IP readThis is the number of times data was read from a file..IP wrcacheThis field is not used and should always be zero..IP writeThis is the number of times data was written to a file..IP createThis is the number of times a new file was created..IP removeThis is the number of times a file was removed..IP renameThis is the number of times a file was renamed..IP linkThis is the number of times a hard link was created..IP symlinkThis is the number of times a symbolic link was created..IP mkdirThis is the number of times a directory was created..IP rmdirThis is the number of times a directory was removed..IP readdirThis is the number of times a directory was read..IP fsstatThis is the number of times that file system attributes andstatistics were retrieved..SH Files.TP 15.PN /vmunix System namelist.TP.PN /dev/kmemkernel memory
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?