You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gosuv/gops/gops_test.go

16 lines
202 B

package gops
import "testing"
func TestProcInfo(t *testing.T) {
p, err := NewProcess(6464)
if err != nil {
t.Fatal(err)
}
pi, err := p.ProcInfo()
if err != nil {
t.Fatal(err)
}
t.Log(pi)
}