From 0ea98db7424595c7121702fe800a339ef91abfa1 Mon Sep 17 00:00:00 2001 From: strucoder Date: Fri, 7 Apr 2017 23:10:33 +0800 Subject: [PATCH] docs(dev): update readme.md --- README.md | 2 +- pidusage_test.go | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a80dd9e..d5c928f 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ Cpu usage does not check the child process tree! Memory result is representing the RSS (resident set size) only by doing `rss*pagesize`, where `pagesize` is the result of `getconf PAGE_SIZE`. -### On darwin, freebsd, solaris (tested on 10/11) +### On darwin, freebsd, solaris We use a fallback with the `ps -o pcpu,rss -p PID` command to get the same informations. Memory usage will also display the RSS only, process cpu usage might differ from a distribution to another. Please check the correspoding `man ps` for more insights on the subject. diff --git a/pidusage_test.go b/pidusage_test.go index e69de29..bfd2193 100644 --- a/pidusage_test.go +++ b/pidusage_test.go @@ -0,0 +1 @@ +package pidusage