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.
|
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)
|
|
}
|