From 906b00fc23a2c36d7f3c6d652306932d45c772b4 Mon Sep 17 00:00:00 2001 From: WAKAYAMA Shirou Date: Wed, 26 Jul 2017 22:42:13 +0900 Subject: [PATCH] add features to README. Thank you for all of great contributors! --- README.rst | 12 ++++++------ process/process_test.go | 2 ++ 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/README.rst b/README.rst index 67f0477..18ee9ba 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 a5f41da..2f33c27 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) {