# Functions

Get returns a metrics object for CPU data.
New returns a new CPU metrics monitor Hostfs is only relevant on linux and freebsd.

# Structs

CPU manages the CPU metrics from /proc/stat If a given metric isn't available on a given platform, The value will be null.
CPUInfo manages the CPU information from /proc/cpuinfo If a given value isn't available on a given platformn the value will be the type's zero-value.
CPUMetrics carries global and per-core CPU metrics.
MetricOpts defines the fields that are passed along to the formatted output.
Metrics stores the current and the last sample collected by a Beat.
Monitor is used to monitor the overall CPU usage of the system over time.