cpu-stats
Calls a callback with the current CPU utilisation status in percent per core.
var cpuStats = // the first argument is how long to sample for in ms.// longer is more accurate but, you know, longer.// if omitted, defaults to one second.
Will output:
[
All numbers are in % and will probably not be integers.
cpu
is a convenience addition of all activity per core minus idle time.