O'Reilly logo

Linux in a Nutshell, 6th Edition by Robert Love, Stephen Figgins, Ellen Siever, Arnold Robbins

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

nfsstat

Synopsis

nfsstat [options]

System administration command. Print statistics on NFS and remote procedure call (RPC) activity for both clients and server.

Options

−2, −3, −4

Shows server statistics for version 2, 3, or 4.

-c

Display only client-side statistics.

-m, --mounts

Show statistics for mounted filesystems.

-n

Display only NFS statistics.

-o facility

Only display statistics for the specified facility. The following are valid values for facility:

all

All of the following facilities.

fh

Server file handle cache.

net

Network layer statistics.

nfs

Same as -n.

rc

Server request reply cache.

rpc

Same as -r.

-r

Display only RPC statistics.

-s

Display only server-side statistics.

-z

Reset statistics to zero. Use with above options to zero out specific sets of statistics (e.g., -zr to reset the RPC statistics).

-Z, --sleep

Take a snapshot of current stats then sleep until receiving a SIGINT signal (e.g., Ctrl-C) then take another snapshot and display a diff of the two.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required