Open lapsio opened 10 years ago
it's on percentage. 0.2 = 0.2%
On Mon, Mar 10, 2014 at 1:35 PM, lapsio notifications@github.com wrote:
is memory usage returned in bytes? 0.2 cpu means 0.2% or 20%?
— Reply to this email directly or view it on GitHubhttps://github.com/arunoda/node-usage/issues/22 .
Arunoda Susiripala
@arunoda http://twitter.com/arunoda http://gplus.to/arunodahttps://github.com/arunoda http://www.linkedin.com/in/arunoda
CPU is shown as percentage (0.2 = 0.2%) and memory is shown in bytes.
From the README example:
{ cpu: 10.6, //in percentage memory: 100065280 //in no of bytes }
is memory usage returned in bytes? 0.2 cpu means 0.2% or 20%?