1
0
mirror of https://github.com/rancher/os.git synced 2025-09-19 00:59:53 +00:00
Files
os/vendor/github.com/cloudfoundry/gosigar
Darren Shepherd a14846152b Update vendor
2016-05-31 18:14:32 -07:00
..
2016-05-31 18:14:32 -07:00
2016-05-31 18:14:32 -07:00
2016-05-31 18:14:32 -07:00
2016-05-31 18:14:32 -07:00
2016-05-31 18:14:32 -07:00
2016-05-31 18:14:32 -07:00
2016-05-31 18:14:32 -07:00
2016-05-31 18:14:32 -07:00
2016-05-31 18:14:32 -07:00
2016-05-31 18:14:32 -07:00
2016-05-31 18:14:32 -07:00
2016-05-31 18:14:32 -07:00
2016-05-31 18:14:32 -07:00
2016-05-31 18:14:32 -07:00

Go sigar

Overview

Go sigar is a golang implementation of the sigar API. The Go version of sigar has a very similar interface, but is being written from scratch in pure go/cgo, rather than cgo bindings for libsigar.

Test drive

$ go get github.com/cloudfoundry/gosigar
$ cd $GOPATH/src/github.com/cloudfoundry/gosigar/examples
$ go run uptime.go

Supported platforms

Currently targeting modern flavors of darwin and linux.

License

Apache 2.0