Add openbsd meminfo (#724)

* Implements meminfo collector for OpenBSD

This is a rework of #151.

* Fix CGO import

* Add some useful metrics

* Rename total -> size for normalization
This commit is contained in:
Matthieu Guegan 2018-01-04 10:32:08 +01:00 committed by Ben Kochie
commit d6ef10bb56
2 changed files with 66 additions and 1 deletions

View file

@ -11,7 +11,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
// +build darwin dragonfly freebsd linux
// +build darwin dragonfly freebsd linux openbsd
// +build !nomeminfo
package collector