Page MenuHomeFreeBSD

Add -E option to nfsstat
ClosedPublic

Authored by rmacklem on Nov 23 2016, 11:11 PM.
Tags
None
Referenced Files
F106648354: D8626.diff
Fri, Jan 3, 8:30 AM
Unknown Object (File)
Nov 21 2024, 4:31 PM
Unknown Object (File)
Oct 1 2024, 2:05 PM
Unknown Object (File)
Oct 1 2024, 1:55 PM
Unknown Object (File)
Sep 26 2024, 4:52 PM
Unknown Object (File)
Sep 17 2024, 1:55 PM
Unknown Object (File)
Sep 8 2024, 10:18 PM
Unknown Object (File)
Sep 8 2024, 8:25 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

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.