NAME
Data::Collector::Info::CPU - Fetch machine CPU information
This info module fetches information about a machine's CPU using /proc/meminfo
. It will not work on Solaris or Windows.
It would be better to do it using a normalized module. Patches are welcome. :)
The keys this module takes in the registry are number_of_cpus, cpu_mhz, cpu_model and cpu_flags.
SUBROUTINES/METHODS
load
Subclassing load
from Data::Collector::Info to register keys in the registry.
count
Returns the number of CPUs.
mhz
Returns the CPU MHz.
model
Returns the CPU model.
flags
Returns the CPU flags.
all
Runs all methods and returns their result in a unified hashref.
AUTHOR
Sawyer X, <xsawyerx at cpan.org>