1
0
mirror of https://github.com/rancher/os.git synced 2025-07-01 09:11:48 +00:00
os/vendor/github.com/cloudfoundry/gosigar
2016-06-06 08:08:00 -07:00
..
.gitignore Update vendor/ 2016-06-06 08:08:00 -07:00
.travis.yml Update vendor/ 2016-06-06 08:08:00 -07:00
concrete_sigar.go Update vendor/ 2016-06-06 08:08:00 -07:00
LICENSE Update vendor/ 2016-06-06 08:08:00 -07:00
NOTICE Update vendor/ 2016-06-06 08:08:00 -07:00
README.md Update vendor/ 2016-06-06 08:08:00 -07:00
sigar_darwin.go Update vendor/ 2016-06-06 08:08:00 -07:00
sigar_format.go Update vendor/ 2016-06-06 08:08:00 -07:00
sigar_interface.go Update vendor/ 2016-06-06 08:08:00 -07:00
sigar_linux.go Update vendor/ 2016-06-06 08:08:00 -07:00
sigar_unix.go Update vendor/ 2016-06-06 08:08:00 -07:00
sigar_util.go Update vendor/ 2016-06-06 08:08:00 -07:00
sigar_windows.go Update vendor/ 2016-06-06 08:08:00 -07:00
Vagrantfile Update vendor/ 2016-06-06 08:08:00 -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