[Lcdproc] NIC statistics ported to NetBSD

Markus Dolze bsdfan@nurfuerspam.de
Thu May 11 17:02:02 2006


Markus Dolze wrote:
> I ported machine_get_iface_stats() to NetBSD. It should work on any 
> version, but only version 3 is tested. The patch also removes some 
> trailing whitespaces, although this was not on purpose.
> 
> It should also work on OpenBSD (i want to try that) and FreeBSD 
> (although I already used the sysctl interface there).
> 

Yes, it works out of the box on OpenBSD. Just copy the new part over to 
machine_OpenBSD.c.

It may work on other BSD derived systems like Darwin. Can someone test?

Regards
Markus