sysctl proc entered twice

Vijay Singh vijju.singh at
Thu Jun 15 18:59:46 UTC 2017

I am implementing a sysctl proc in the kernel to print some custom
counters. I am seeing that the proc handler is called twice each time I
invoke "sysctl oid". Is this expected?

PS: the proc is setup as string|rd.

More information about the freebsd-questions mailing list