On 2018/09/09 20:04, William Leuschner wrote: > Hello ports@, > > I’m quite pleased with netdata (https://my-netdata.io) as a monitoring > tool on my non-OpenBSD boxes, and I’d like to port it over. The > project’s GitHub page has a few issues mentioning OpenBSD in passing, > but nothing about porting it. Before I get too far into the weeds, is > anyone else working on it (or tried to in the past)?
I've not heard of any, and there's nothing in openbsd-wip. > This will be my first from-scratch port, which might not be a great > choice because it is undoubtedly riddled with Linux-isms, but I think > I’m up for the challenge :P It's not going to be the simplest first port (it will need actual code porting, rather than just writing ports Makefile etc). Many of the Linux-ish plugins use procfs which isn't very helpful - the FreeBSD code is going to be closer but we don't have the GETSYSCTL_BY_NAME/GETSYSCTL_SIMPLE interfaces, these need changing to use sysctl(2). You probably want to refer to /usr/src/usr.bin/top while looking at this.