Darren Shepherd 03db5d1058 Update vendor/ | 8 年之前 | |
---|---|---|
.. | ||
.gitignore | 8 年之前 | |
.travis.yml | 8 年之前 | |
LICENSE | 8 年之前 | |
NOTICE | 8 年之前 | |
README.md | 8 年之前 | |
Vagrantfile | 8 年之前 | |
concrete_sigar.go | 8 年之前 | |
sigar_darwin.go | 8 年之前 | |
sigar_format.go | 8 年之前 | |
sigar_interface.go | 8 年之前 | |
sigar_linux.go | 8 年之前 | |
sigar_unix.go | 8 年之前 | |
sigar_util.go | 8 年之前 | |
sigar_windows.go | 8 年之前 |
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.
$ go get github.com/cloudfoundry/gosigar
$ cd $GOPATH/src/github.com/cloudfoundry/gosigar/examples
$ go run uptime.go
Currently targeting modern flavors of darwin and linux.
Apache 2.0