Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotStatLine = errors.New("Not a Stat Line")
ErrNotStatLine is an internal error for reporting the end of the RPC stats section
Functions ¶
func PrintStatUsage ¶
PrintStatUsage prints out the configuration documentation for the NFSStats
Types ¶
type NFSStats ¶
type NFSStats struct { Remote string Local string Events OpStats Bytes OpStats XPRT OpStats Ops map[string]OpStats }
NFSStats is an struct representation of an NFS entry in /proc/self/mountstats
func ReadMountStats ¶
ReadMountStats gets all of the NFS entries in /proc/self/mountstats
Click to show internal directories.
Click to hide internal directories.