ExFacts v0.1.5 ExFacts.System.CPU
Handles all logic with regards to collecting metrics on the CPUs of the host. Returns a ExFactsCPU.InfoStat
populated struct.
Summary
Functions
Returns the integer number of processors that on the host. Currently it relies on a call to the the system utility nproc, which means this function will only on Unix or Unix like systems
Functions
Returns the integer number of processors that on the host. Currently it relies on a call to the the system utility nproc, which means this function will only on Unix or Unix like systems.
cpu_info()
cpu_info :: {atom, [%ExFacts.System.CPU.InfoStat{cache_size: term, core_id: term, cores: term, cpu: term, family: term, flags: term, mhz: term, microcode: term, model: term, model_name: term, physical_id: term, stepping: term, vendor_id: term}]} | binary