Merge pull request #2 from struCoder/dev

docs(dev): update readme.md
This commit is contained in:
David 大伟 2017-04-07 23:11:27 +08:00 committed by GitHub
commit d654f15dd0
2 changed files with 2 additions and 1 deletions

View File

@ -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.

View File

@ -0,0 +1 @@
package pidusage