SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

BotDetect - Real-Time Bot Detection API
 
 

MAN page from Old RedHat 6.X perl-Unix-Processors-1.7-6.i386.rpm

Processors

Section: User Contributed Perl Documentation (3)
Updated: perl 5.005, patch 03
Index 

NAME

Unix::Processors - Interface to processor (CPU) information 

SYNOPSIS

  use Unix::Processors;
  my $procs = new Unix::Processors;  print "There are ", $procs->max_online, " CPUs at ", $procs->max_clock, "\n";  (my $FORMAT =   "%2s  %-8s     %4s    \n") =~ s/\s\s+/ /g;  printf($FORMAT, "#", "STATE", "CLOCK",  "TYPE", );   foreach my $proc (@{$procs->processors}) {      printf ($FORMAT, $proc->id, $proc->state, $proc->clock, $proc->type);  }
 

DESCRIPTION

  This package provides accessors to per-processor (CPU) information.The object is obtained with the Unix::Processors::processors call.the operating system in a OS independent manner.

max_online Return number of processors currently online.

max_clock Return the maximum clock speed across all online processors. =item processors Return a array or processor references. See the Unix::Processors::Info manual page. Not all OSes support this call.
 

SEE ALSO

Unix::Processors::Info, Sys::Sysconf, 

DISTRIBUTION

The latest version is available from CPAN. 

AUTHORS

Wilson Snyder <wsnyderAATTworld.std.com>


 

Index

NAME
SYNOPSIS
DESCRIPTION
SEE ALSO
DISTRIBUTION
AUTHORS

This document was created byman2html,using the manual pages.
 
ICM Bot detect detector