Page MenuHomeFreeBSD

Add -E option to nfsstat
ClosedPublic

Authored by rmacklem on Nov 23 2016, 11:11 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Apr 20, 2:35 PM
Unknown Object (File)
Sat, Apr 20, 2:04 PM
Unknown Object (File)
Mar 20 2024, 7:28 AM
Unknown Object (File)
Dec 27 2023, 7:43 PM
Unknown Object (File)
Dec 27 2023, 7:35 PM
Unknown Object (File)
Dec 20 2023, 12:44 AM
Unknown Object (File)
Nov 14 2023, 9:07 AM
Unknown Object (File)
Nov 10 2023, 8:50 AM
Subscribers

Details

Summary

This patch adds a -E option to nfsstat so that it displays statistics that include NFSv4.1.
It is similar to the -e option for displaying NFSv4.0 statistics. It also does not clip the
numbers at 1 billion.

Test Plan

Tested for both client and server running an NFSv4.1 mount.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

rmacklem retitled this revision from to Add -E option to nfsstat.
rmacklem updated this object.
rmacklem edited the test plan for this revision. (Show Details)

A few textual suggestions, the man page looks fine to me.
I look forward to testing that change.

usr.bin/nfsstat/nfsstat.c
214 โ†—(On Diff #22472)

I think it would sound better as "... are mutually exclusive". Same for the other error message.

830 โ†—(On Diff #22472)

I would capitalize RPC

Changes suggested by bcr@ have been applied to the patch.

Maybe you'd like to review this, now that I have applied your suggested changes.

Thanks, rick

Hi Rick,
thanks for making the changes. Unfortunately, I'm not a src committer, so I can review it to a certain degree, but can't approve without the missing bit. ;-)

You could commit it with Reviewed by: bcr (doc parts). That way, people know what I reviewed. Thanks!

This revision was automatically updated to reflect the committed changes.