Flashnux

GNU/Linux man pages

Livre :
Expressions régulières,
Syntaxe et mise en oeuvre :

ISBN : 978-2-7460-9712-4
EAN : 9782746097124
(Editions ENI)

GNU/Linux

CentOS 4.8

i386

nfsstat(8)


nfsstat

nfsstat

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
EXAMPLES
DISPLAY
FILES
SEE ALSO
AUTHOR

NAME

nfsstat − list NFS statistics

SYNOPSIS

nfsstat [OPTION]...

DESCRIPTION

The nfsstat displays statistics kept about NFS client and server activity.

OPTIONS

-a, --all

Print all statistics.

-s, --server

Print only server-side statistics. The default is to print both server and client statistics.

-c, --client

Print only client-side statistics.

-n, --nfs

Print only NFS statistics. The default is to print both NFS and RPC information.

-2

Print only NFS v2 statistics. The default is to only print information about the versions of NFS that have non-zero counts.

-3

Print only NFS v3 statistics.

-4

Print only NFS v4 statistics.

-r, --rpc

Print only RPC statistics.

-o facility

Display statistics for the specified facility, which must be one of:

nfs

NFS protocol information, split up by RPC call.

rpc

General RPC information.

net

Network layer statistics, such as the number of received packets, number of TCP connections, etc.

fh

Usage information on the server’s file handle cache, including the total number of lookups, and the number of hits and misses.

rc

Usage information on the server’s request reply cache, including the total number of lookups, and the number of hits and misses.

-z

Zeros out all or some of the statistics. Typical uses would be:

nfsstat -z - zeros all statistics
nfsstat -zc - zeros only client statistics
nfsstat -zs - zeros only server statistics
nfsstat -zr - zeros only RPC statistics
nfsstat -zn - zeros only NFS call statistics

EXAMPLES

nfsstat -o all -234

Show all information about all versions of NFS.

nfsstat --all -234

Same as above.

nfsstat -o all

Show all information about about active versions of NFS.

nfsstat --nfs --server -3

Show statictics for NFS version 3 server.

nfsstat -m

Show information about mounted NFS filesystems.

DISPLAY

The Flags output from the -m option is the same as the flags give to the mount command.

FILES

/proc/net/rpc/nfsd

procfs-based interface to kernel NFS server statistics.

/proc/net/rpc/nfs

procfs-based interface to kernel NFS client statistics.

SEE ALSO

rpc.nfsd(8). nfs(5).

AUTHOR

Olaf Kirch, <okir@suse.de>



nfsstat(8)