I noticed that all the statistics that nfsstat outputs are maintained as kstat statistics in the kernel (unless I am missing something). Since the kstat utility provides access to all the kstats from the command line, I was wondering if there was any specific reason for implementing nfsstat in C and not as a script that leverages the kstat utility. Is there some history or just a matter of preference?
Thanks, Piyush