mirror of
https://github.com/weaveworks/scope.git
synced 2026-03-05 11:11:13 +00:00
13 lines
194 B
Go
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)
|
|
}
|