On Tue, Oct 24, 2023 at 10:56 PM Rick Macklem <rick.mack...@gmail.com>
wrote:

> Garrett Wollman asked me via email how a server
> admin could tell what usage NFS over TLS was
> happening.
>
> I admitted that there was nothing. I have come up
> with a patch that generates the following:
> kern.rpctls.snd_tls_msgbytes: 21508
> kern.rpctls.snd_msgbytes: 20828
> kern.rpctls.snd_tls_msgcnt: 57
> kern.rpctls.snd_msgcnt: 58
> kern.rpctls.rcv_tls_msgbytes: 12336
> kern.rpctls.rcv_msgbytes: 12072
> kern.rpctls.rcv_tls_msgcnt: 57
> kern.rpctls.rcv_msgcnt: 58
>

Have no technical comments, but a style suggestion:  put the tls at the end
to make the output look nicer.  :)

kern.rpctls.snd_msgbytes: 21508
> kern.rpctls.snd_msgbytes_tls: 20828
> kern.rpctls.snd_msgcnt: 58
> kern.rpctls.snd_msgcnt_tls: 57
> kern.rpctls.rcv_msgbytes: 12072
> kern.rpctls.rcv_tmsgbytes_tls: 12336
> kern.rpctls.rcv_msgcnt: 58

kern.rpctls.rcv_msgcnt_tls: 57


-- 
Freddie Cash
fjwc...@gmail.com

Reply via email to