Detecting changes when mapping /dev/devstat

Shea Levy shea at shealevy.com
Sun Jan 1 14:34:14 UTC 2017


Hi Conrad,

That package uses libdevstat, which uses the kern.devstat.all sysctl,
not the /dev/devstat device.

Thanks,
Shea

Conrad Meyer <cem at freebsd.org> writes:

> Shea,
>
> You might try looking at how devstat(8) uses the interface.
> http://devstat.googlecode.com/ ("pkg install devstat").
>
> Best,
> Conrad
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20170101/a24c337b/attachment.sig>


More information about the freebsd-hackers mailing list