Skip to content

Interface: ICpuMonitorStatistics ​

The statistics of a CpuMonitor: the CPU usage of the process in percent of one core (100 is one core fully busy; above 100 with several cores busy), each sample the average over one second, rounded to 5 decimals. The minimum, maximum, mean and percentiles cover the samples since the monitor was created or reset; the percentiles are approximate (3 significant digits). All 0 before the first sample.

Properties ​

usage ​

usage: number

The CPU usage over the latest second (the latest sample), in percent of one core.


usageAvg ​

usageAvg: number

The mean of the samples, in percent of one core.


usageMax ​

usageMax: number

The highest sample, in percent of one core.


usageMin ​

usageMin: number

The lowest sample, in percent of one core.


usageP50 ​

usageP50: number

The median sample (50% of the seconds used less), in percent of one core.


usageP90 ​

usageP90: number

The 90th percentile of the samples (90% of the seconds used less), in percent of one core.


usageP95 ​

usageP95: number

The 95th percentile of the samples, in percent of one core.


usageP99 ​

usageP99: number

The 99th percentile of the samples, in percent of one core.

Released under the MIT License.