diff --git a/README.rst b/README.rst index 67f04774..18ee9bac 100644 --- a/README.rst +++ b/README.rst @@ -201,7 +201,7 @@ pid x x x x x ppid x x x x x name x x x x x cmdline x x x -create_time x +create_time x x status x x x x cwd x exe x x x x @@ -223,16 +223,16 @@ suspend x x x x resume x x x x terminate x x x x x kill x x x x -username x +username x x x x x ionice -rlimit -num_handlres +rlimit x +num_handlers threads cpu_percent x x x cpu_affinity memory_percent -parent x x x -children x x x x +parent x x x x +children x x x x x connections x x x is_running ================ ===== ======= ======= ====== ======= diff --git a/process/process_test.go b/process/process_test.go index a5f41dac..2f33c273 100644 --- a/process/process_test.go +++ b/process/process_test.go @@ -352,6 +352,8 @@ func Test_Username(t *testing.T) { process, _ := NewProcess(int32(myPid)) pidUsername, _ := process.Username() assert.Equal(t, myUsername, pidUsername) + + t.Log(pidUsername) } func Test_CPUTimes(t *testing.T) {