LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

nfsstat

displays statistics about NFS activity

TLDR

Show all NFS statistics
$ nfsstat
copy
Show server statistics
$ nfsstat -s
copy
Show client statistics
$ nfsstat -c
copy
Show specific NFS version
$ nfsstat -3
copy
Show RPC statistics
$ nfsstat -r
copy
Show mounted filesystems
$ nfsstat -m
copy
Zero statistics
$ sudo nfsstat -z
copy

SYNOPSIS

nfsstat [options]

DESCRIPTION

nfsstat displays statistics about NFS (Network File System) activity. It shows RPC and NFS statistics for both client and server operations.Statistics include operation counts, errors, and cache performance.

PARAMETERS

-s, --server

Server statistics only.
-c, --client
Client statistics only.
-n, --nfs
NFS statistics only.
-r, --rpc
RPC statistics only.
-2, -3, -4
NFS version (v2, v3, v4).
-m, --mounts
Show mount information.
-z, --zero
Zero statistics.
-l, --list
Print statistics in list format.
-o, --since
Show statistics since last reset with nfsstat -z.
-S, --sort field
Sort NFS stats by field.

OUTPUT SECTIONS

$ Server RPC stats - Server RPC activity
Client RPC stats - Client RPC activity
Server NFS stats - NFS operations served
Client NFS stats - NFS operations made
copy

EXAMPLE OUTPUT

$ Server nfs v3:
null         getattr      setattr      lookup
1000         50000        1000         25000
copy

INSTALL

sudo apt install nfs-common
copy
sudo dnf install nfs-utils
copy
sudo pacman -S nfs-utils
copy
sudo apk add nfs-utils
copy
nix profile install nixpkgs#nfs-utils
copy

CAVEATS

Statistics reset on reboot. Requires NFS kernel modules. May need root for some options.

HISTORY

nfsstat has been part of NFS tools since the early implementations at Sun Microsystems in the 1980s.

SEE ALSO

nfsd(8), showmount(8), rpcinfo(8)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid