Sysctl as a Service, or: making sysctl(3) more friendly for monitoring systems
Hans Petter Selasky
hps at selasky.org
Tue Dec 13 17:41:39 UTC 2016
On 12/13/16 16:08, Ed Schouten wrote:
> Hi Warner,
>
> 2016-12-13 1:57 GMT+01:00 Warner Losh <imp at 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
More information about the freebsd-hackers
mailing list