Sys::CPU is Copyright (c) 2001-2010, MZSanford

This module is free software; you
can redistribute it and/or modify it under the same terms as Perl itself. For more details, see the full text of the licenses in the directory LICENSES.

NAME

Sys::CPU - Perl extension for getting CPU information. Currently only number of CPU's supported.

SYNOPSIS

use Sys::CPU;

      $number_of_cpus = Sys::CPU::cpu_count();
      printf("I have %d CPU's\n",$number_of_cpus);
      print "  Speed : ",Sys::CPU::cpu_clock(),"\n";
      print "  Type  : ",Sys::CPU::cpu_type(),"\n";

DESCRIPTION

In responce to a post on perlmonks.org, a module for counting the number of CPU's on a system. Support has now also been added for type of CPU and clock speed. While much of the code is from UNIX::Processors, win32 support has been added (but not tested).

EXPORT

None by default.

AUTHOR

MZSanford
MAINTENANCE

Marc Koderer

SEE ALSO

perl(1), sysconf(3)

CHANGES

Revision history for Perl extension Sys::CPU.

0.01 Wed Jun 27 16:43:58 2001

0.10

0.20

0.25

0.30

0.35

0.40

0.45

0.50

0.51

0.52