Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Jun 2017 11:59:42 -0700
From:      Vijay Singh <vijju.singh@gmail.com>
To:        questions@freebsd.org
Subject:   sysctl proc entered twice
Message-ID:  <CALCNsJTojx_Bta%2Bn2zzrafbbLWW5FExvapsF_Jo5yFfSiaJfFg@mail.gmail.com>
In-Reply-To: <CALCNsJSoO5RVnrbQa_jDmn5rYnE0hjF5y1rBYMD2FoM9OdiMvg@mail.gmail.com>
References:  <CALCNsJRnBis_LueVwaS_wyx1TkAJhv5e5jBhrrdS2u57SKt0GA@mail.gmail.com> <CALCNsJTMBkwTcxbPvY4yLYOtVoXMGxm%2BgAqXYSVgacJsR6YCxg@mail.gmail.com> <CALCNsJQ76YpATdiZOJTSnhLaXH_vfHx7dO0Sc=eD_eVqgm_68A@mail.gmail.com> <CALCNsJSvah7ChHV09m7yS%2B4-qY5GQsaxTvZH4L_mXq%2Byt5XnHQ@mail.gmail.com> <CALCNsJTe-31_GrK2aLPhEMsW3%2Bg6Uv0%2BP-XLe%2BzDVTd%2B2LSLeg@mail.gmail.com> <CALCNsJSoO5RVnrbQa_jDmn5rYnE0hjF5y1rBYMD2FoM9OdiMvg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



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