Date: Wed, 26 Dec 2018 15:16:49 +0100 From: Alfonso Siciliano <alfix86@gmail.com> To: Ed Schouten <ed@nuxi.nl> Cc: FreeBSD Hackers <freebsd-hackers@freebsd.org> Subject: Re: libsysctl: a C API for sysctl-mib-tree Message-ID: <20181226151649.7bc24a54a53790699feb1b77@gmail.com> In-Reply-To: <CABh_MKm8UCXSaQY=Nqd-jn29JRS1CkO6YrF63eLqPiqNMSX40A@mail.gmail.com> References: <20181222202228.95f48408c8e2ebe9c40d9d75@gmail.com> <CABh_MKm8UCXSaQY=Nqd-jn29JRS1CkO6YrF63eLqPiqNMSX40A@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi Ed, > Ed Schouten <ed@nuxi.nl> wrote: > > Alfonso Siciliano <alfix86@gmail.com>: > > I' m currently working on a library called "libsysctl" which will > > provide a C API to wrap kern_sysctl.c undocumented interface, build > > mib-entry, entries-list and mib-tree in userspace and then to do > > the work that /sbin/sysctl currently does. > > Great work! Thanks > This would have been nice to have when I implemented the > Prometheus metrics exporter for sysctl: > > https://svnweb.freebsd.org/base/head/usr.sbin/prometheus_sysctl_exporter/prometheus_sysctl_exporter.c?view=markup I thought libsysctl exactly to help to write programs like "prometheus_sysctl_exporter" Regards, Alfonso --- Alfonso S. Siciliano http://alfix.gitlab.io
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20181226151649.7bc24a54a53790699feb1b77>