klyn.system.SystemSnapshot.cpuPercent
property
public readonly property cpuPercent as Double
Description

Whole-machine busy CPU percentage, excluding idle and Linux iowait.

Example

if snapshot.status(SystemField.CPU_PERCENT) == MetricStatus.AVAILABLE: print(snapshot.cpuPercent)