d5742209d3
Fixes #113 Signed-off-by: Marcos Lilljedahl <marcosnils@gmail.com> |
||
---|---|---|
.. | ||
.gitignore | ||
.travis.yml | ||
concrete_sigar.go | ||
LICENSE | ||
NOTICE | ||
README.md | ||
sigar_darwin.go | ||
sigar_format.go | ||
sigar_interface.go | ||
sigar_linux.go | ||
sigar_unix.go | ||
sigar_util.go | ||
sigar_windows.go | ||
Vagrantfile |
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