Linux::Cpuinfo - Object Oriented Interface to /proc/cpuinfo

NAME

Linux::Cpuinfo - Object Oriented Interface to /proc/cpuinfo

SYNOPSIS


  use Linux::Cpuinfo;

  my $cpuinfo = Linux::Cpuinfo.new();

  my $cnt  = $cpuinfo.num_cpus();   # > 1 for an SMP system

  for $cpuinfo.cpus -> $cpu {
     say $cpu.bogomips;
  }

METHODS

Linux::Cpuinfo v0.1.1

Get the kernel CPU information on Linux

Authors

  • Jonathan Stowe

License

Artistic-2.0

Dependencies

Test Dependencies

Provides

  • Linux::Cpuinfo
  • Linux::Cpuinfo::Cpu

Documentation

The Camelia image is copyright 2009 by Larry Wall. "Raku" is trademark of the Yet Another Society. All rights reserved.