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, Jul 4, 11:11 AM
Unknown Object (File)
Fri, Jul 3, 11:12 PM
Unknown Object (File)
Fri, Jul 3, 12:43 PM
Unknown Object (File)
Thu, Jul 2, 11:41 PM
Unknown Object (File)
Wed, Jul 1, 11:35 PM
Unknown Object (File)
Tue, Jun 16, 6:38 PM
Unknown Object (File)
Sat, Jun 13, 12:57 AM
Unknown Object (File)
May 30 2026, 10:49 PM
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

Lint
Lint Skipped
Unit
Tests Skipped

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

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

830

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.