Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Oct 2023 20:09:45 -0700
From:      "Simon J. Gerraty" <sjg@juniper.net>
To:        Rick Macklem <rick.macklem@gmail.com>
Cc:        Freddie Cash <fjwcash@gmail.com>, FreeBSD CURRENT <freebsd-current@freebsd.org>, <sjg@juniper.net>
Subject:   Re: RFC: NFS over TLS stats
Message-ID:  <48556.1698289785@kaos.jnpr.net>
In-Reply-To: <CAM5tNy54ZX_D5nKGTxdHhpmpchSv0MddQjNuhku3D2tM6mrh_g@mail.gmail.com>
References:  <CAM5tNy4=ioUd3gRqwEr5-ss7jek1N7DWc-b4_c4xWWEe-5uQyg@mail.gmail.com> <CAOjFWZ5cyS8LWo19qH2gqCQmDfPR1%2Bmxr0iebPA0HSZ4SuTsPw@mail.gmail.com> <63874.1698283976@kaos.jnpr.net> <CAM5tNy54ZX_D5nKGTxdHhpmpchSv0MddQjNuhku3D2tM6mrh_g@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Rick Macklem <rick.macklem@gmail.com> wrote:
> > kern.rpctls.tls.snd_msgbytes: 20828
> > kern.rpctls.tls.snd_msgcnt: 57
> > kern.rpctls.tls.rcv_tmsgbytes: 12336
> > kern.rpctls.tls.rcv_msgcnt: 57
> >
> > which allows for sysctl kern.rpctls.tls
> Not sure what you mean?

If for some reason I only care about tls I can do

sysctl kern.rpctls.tls

and get

kern.rpctls.tls.snd_msgbytes: 20828
kern.rpctls.tls.snd_msgcnt: 57
kern.rpctls.tls.rcv_tmsgbytes: 12336
kern.rpctls.tls.rcv_msgcnt: 57

otherwise I'd have to do

sysctl kern.rpctls | grep tls

> I am listing counts for TLS and non-TLS so they can
> be compared. As such, a "tls" in the last component of
> the name is needed, unless I list the non-TLS ones

Ok

> under something else like:
> kern.rpc.snd_msgbytes
> 
> I currently actually have them all as:
> kern.rpc.tls.XXX instead of kern.rpctls.XXX,

Haha I didn't notice the tls in rpctls ;-)

> since there was already kern.rpc.gss.XXX.

kern.rpc.tls.XXX sounds fine

> 
> rick



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48556.1698289785>