This commit is contained in:
2024-08-27 15:46:23 +08:00
commit 715eda7c67
70 changed files with 20484 additions and 0 deletions

15
gops/gops_test.go Normal file
View File

@@ -0,0 +1,15 @@
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)
}