NAME
Linux::Cpuinfo - Object Oriented Interface to /proc/cpuinfo
SYNOPSIS
use Linux::Cpuinfo;
my $cpu = Linux::Cpuinfo->new();
print $cpu->model_name();
DESCRIPTION
On Linux systems various information about the CPU in the computer can be gleaned from /proc/cpuinfo
. This module provides an object oriented interface to that information for relatively simple use in Perl programs.
METHODS
- cpuinfo
-
Returns a blessed object suitable for calling the rest of the methods on or a false value if for some reason
/proc/cpuinfo
cant be opened. The single argument can be an alternative file that provides identical information.
EXPORT
None by default.
COPYRIGHT AND LICENSE
See the README file in the Distribution Kit
AUTHOR
Jonathan Stowe, <gellyfish@gellyfish.com>
SEE ALSO
perl.
1 POD Error
The following errors were encountered while parsing the POD:
- Around line 148:
You forgot a '=back' before '=head2'