Files
weave-scope/vendor/github.com/c9s/goprocinfo/linux/vmstat_test.go
2015-12-04 13:57:32 +00:00

13 lines
194 B
Go

package linux
import "testing"
func TestVMStat(t *testing.T) {
vmstat, err := ReadVMStat("proc/vmstat")
if err != nil {
t.Fatal("vmstat read fail")
}
_ = vmstat
t.Logf("%+v", vmstat)
}