![Forrest logo](/images/logo.png)
nfsstat:tldr:47ef7
nfsstat: Reset the recorded number of calls made to the NFS server.
$ nfsstat -z
try on your machine
The nfsstat
command is used to display various NFS (Network File System) statistics in Unix-like operating systems. The -z
option is used to display the statistics in a zero-based format.
When you run nfsstat -z
, it will provide a summary of various NFS statistics, such as:
calls
: Number of NFS procedure calls made.retrans
: Number of retransmitted NFS procedure calls.authrefrsh
: Number of times the client refreshed its authentication flavor.null
: Number of null RPC requests.getattr
: Number of GETATTR RPC requests (used to retrieve attributes of a file or directory).setattr
: Number of SETATTR RPC requests (used to set attributes of a file or directory).lookup
: Number of LOOKUP RPC requests (used to look up a file or directory by name).access
: Number of ACCESS RPC requests (used to check file or directory access permissions).readlink
: Number of READLINK RPC requests (used to read the target of a symbolic link).read
: Number of READ RPC requests (used to read data from a file).write
: Number of WRITE RPC requests (used to write data to a file).create
: Number of CREATE RPC requests (used to create a new file or directory).mkdir
: Number of MKDIR RPC requests (used to create a new directory).symlink
: Number of SYMLINK RPC requests (used to create a new symbolic link).mknod
: Number of MKNOD RPC requests (used to create a special file).remove
: Number of REMOVE RPC requests (used to remove a file or directory).rmdir
: Number of RMDIR RPC requests (used to remove a directory).rename
: Number of RENAME RPC requests (used to rename a file or directory).link
: Number of LINK RPC requests (used to create a hard link).readdir
: Number of READDIR RPC requests (used to read a directory).readdirplus
: Number of READDIRPLUS RPC requests (used to read a directory with attributes).fsstat
: Number of FSSTAT RPC requests (used to retrieve file system statistics).fsinfo
: Number of FSINFO RPC requests (used to retrieve file system information).pathconf
: Number of PATHCONF RPC requests (used to retrieve path configuration).commit
: Number of COMMIT RPC requests (used to commit cached data to stable storage).
The -z
option simply changes the numbering of the statistics output to start from zero instead of one.
This explanation was created by an AI. In most cases those are correct. But please always be careful and
never run a command you are not sure if it is safe.