nfsstat on FreeBSD lacks the following useful options/features, taken directly from the Solaris 7 man page: -m Display statistics for each NFS mounted file sys- tem. This includes the server name and address, mount flags, current read and write sizes, the retransmission count, and the timers used for dynamic retransmission. The srtt value contains the smoothed round trip time, the dev value con- tains the estimated deviation, and the cur value is the current backed-off retransmission value. Here are what the stats look like (this is sweet): /m/t from ro:/ Flags: vers=2,proto=udp,sec=sys,hard,intr,dynamic,rsize=1024,wsize=1024,retrans=5 Lookups: srtt=1 (2ms), dev=1 (5ms), cur=0 (0ms) Reads: srtt=7 (17ms), dev=3 (15ms), cur=2 (40ms) /m/k from kahuna:/ Flags: vers=3,proto=tcp,sec=sys,hard,intr,link,symlink,acl,rsize=32768,wsize=32768,retrans=5 And: -z Zero (reinitialize) statistics. This option is for use by the super user only, and can be combined with any of the above options to zero particular sets of statistics after printing them. The -z option helps diagnose NSF performance problems. The only way to zero the nfs stats right now is to reboot. It gets even better: -r Display RPC information. This is a minor improvement; it reduces the total info to RPC data only. Fix: Add options/feature(s) to the code. How-To-Repeat: 1. Compare the FreeBSD and Solaris man pages for nfsstat. 2. Try to debug an NFS performance problem with FreeBSD, then use Solaris.
State Changed From-To: open->suspended Suspended awaiting patch
For bugs matching the following conditions: - Status == In Progress - Assignee == "bugs@FreeBSD.org" - Last Modified Year <= 2017 Do - Set Status to "Open"
Closing this feature request as "Reject" since nobody picked it up to work on. Feel free to reopen if there are any plans to add it to the current version.