Darren Shepherd 03db5d1058 Update vendor/ 8 年之前
..
.gitignore 03db5d1058 Update vendor/ 8 年之前
.travis.yml 03db5d1058 Update vendor/ 8 年之前
LICENSE 03db5d1058 Update vendor/ 8 年之前
NOTICE 03db5d1058 Update vendor/ 8 年之前
README.md 03db5d1058 Update vendor/ 8 年之前
Vagrantfile 03db5d1058 Update vendor/ 8 年之前
concrete_sigar.go 03db5d1058 Update vendor/ 8 年之前
sigar_darwin.go 03db5d1058 Update vendor/ 8 年之前
sigar_format.go 03db5d1058 Update vendor/ 8 年之前
sigar_interface.go 03db5d1058 Update vendor/ 8 年之前
sigar_linux.go 03db5d1058 Update vendor/ 8 年之前
sigar_unix.go 03db5d1058 Update vendor/ 8 年之前
sigar_util.go 03db5d1058 Update vendor/ 8 年之前
sigar_windows.go 03db5d1058 Update vendor/ 8 年之前

README.md

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