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.
$ git clone https://github.com/cloudfoundry/gosigar.git
$ cd gosigar/examples
$ go run uptime.go
$ go run df.go
$ go run free.go
$ go run ps.go
Currently targeting modern flavors of macOS (Darwin), Windows and Linux.
Apache 2.0