Date: Tue, 13 Dec 2016 18:34:09 +0100 From: Hans Petter Selasky <hps@selasky.org> To: Ed Schouten <ed@nuxi.nl>, Warner Losh <imp@bsdimp.com> Cc: FreeBSD Hackers <freebsd-hackers@freebsd.org>, Allan Jude <allanjude@freebsd.org>, Jonathan Anderson <jonathan@freebsd.org> Subject: Re: Sysctl as a Service, or: making sysctl(3) more friendly for monitoring systems Message-ID: <c2007e87-66f7-15ea-3135-cfb99ba4ef19@selasky.org> In-Reply-To: <CABh_MK=jrpZCqgFmy-AB0VhVBp_cTDT468zsYe%2Btjmbub=PiMA@mail.gmail.com> References: <CABh_MKk87hJTsu1ETX8Ffq9E8gqRPELeSEKzf1jKk_wwUROgAw@mail.gmail.com> <eea0aa41-2bbc-0ddc-d951-f495c5ba2341@freebsd.org> <200A5D70-24CE-4843-B99D-E10A2AF4F68F@FreeBSD.org> <CABh_MKkAoTj4wA9oTz-fK0rokgMfuiUWpLt6t=qRXy6vvCh7rg@mail.gmail.com> <CANCZdfrjsLdMoZ9Eg19-mEbyxUefJxUmeq=cT_bagrJqzWnUOg@mail.gmail.com> <CABh_MK=jrpZCqgFmy-AB0VhVBp_cTDT468zsYe%2Btjmbub=PiMA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 12/13/16 16:08, Ed Schouten wrote: > Hi Warner, > > 2016-12-13 1:57 GMT+01:00 Warner Losh <imp@bsdimp.com>: >> > While we're here... there's one thing I'd love to see from a >> > hypothetical /dev/sysctl... When a sysctl value changes (or some >> > subset), I'd like it to appear on a read-channel. That way, I could >> > monitor temperature w/o needing to constantly poll for changes, for >> > example. > Yes, that would be nice to have. Unfortunately, Prometheus is mostly > pull-based, so I guess such a feature wouldn't be needed in this case. Maybe you could make something with libcuse() ? --HPS
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?c2007e87-66f7-15ea-3135-cfb99ba4ef19>