Skip to content


Subversion checkout URL

You can clone with
Download ZIP
tree: 34b933826b
Fetching contributors…

Cannot retrieve contributors at this time

38 lines (24 sloc) 0.967 kb

Go sigar


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
$ cd $GOPATH/src/
$ go run uptime.go

Using gerrit

$ export GOPATH=~/gocode
$ mkdir -p $GOPATH/src/
$ cd $GOPATH/src/
$ gerrit clone ssh://[<your username>@]
$ cd gosigar
$ go test

Supported platforms

Currently targeting modern flavors of darwin and linux.


Apache 2.0

File a Bug

To file a bug against Cloud Foundry Open Source and its components, sign up and use our bug tracking system:

Jump to Line
Something went wrong with that request. Please try again.