wmmemload: Use sysctl to get memory usage in FreeBSD.
commita473280ab9850b93ba2da950cb549c62a2225351
authorDoug Torrance <dtorrance@monmouthcollege.edu>
Fri, 10 Oct 2014 04:50:13 +0000 (9 23:50 -0500)
committerCarlos R. Mafra <crmafra@gmail.com>
Fri, 10 Oct 2014 09:09:52 +0000 (10 10:09 +0100)
treea51b7a49f40a394c8a63e1e5298381c12b3572f9
parentba72863015547316aaed5e9c42fd179faeeaa911
wmmemload: Use sysctl to get memory usage in FreeBSD.

Previously, kvm_read was used to get the memory usage in FreeBSD.  However,
this has been deprecated in favor of sysctl.  This patch implements this
change.

Some work had previously been done in this direction, as could be seen in
the file src/mem_freebsd_sysctl.c.  Since this file is no longer needed, it
has been removed.

Additionally, some formatting has been done on the remaining older code for
a more consistent style.
wmmemload/src/Makefile.am
wmmemload/src/mem_freebsd.c
wmmemload/src/mem_freebsd_sysctl.c [deleted file]