Gets the CPU usage with default or custom snapshot interval.
getCpuUsage([interval]);
returns numeric
Name | Type | Required | Default | Description |
---|---|---|---|---|
interval | numeric | No | 1000 | Time in milliseconds. This is the time delay between two snapshots. |
getCpuUsage()