Open DylanShea opened 9 years ago
According to the man pages, they are in units of 1024 bytes, as per #9
https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man1/ps.1.html
On OSX this value is OK, for linux I believe it is using another provider: https://github.com/arunoda/node-usage/blob/master/lib/providers/linux.js
https://github.com/arunoda/node-usage/blob/master/lib/providers/ps.js#L37
From the README.md
The ps output for both linux and osx is in bytes already. Why are the values being returned with a 1024 multiplier?