Query: sys::cpu
OS: centos
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
CPU(3) User Contributed Perl Documentation CPU(3)NAMESys::CPU - Perl extension for getting CPU information. Currently only number of CPU's supported.SYNOPSISuse Sys::CPU; $number_of_cpus = Sys::CPU::cpu_count(); printf("I have %d CPU's ",$number_of_cpus); print " Speed : ",Sys::CPU::cpu_clock()," "; print " Type : ",Sys::CPU::cpu_type()," ";DESCRIPTIONIn 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). v0.45 - Corrected solaris support (Thanks Cloyce) EXPORT None by default.AUTHORMatt SanfordMAINTENANCEMarc KodererLICENSESEE ALSOperl(1), sysconf(3) perl v5.16.3 2012-11-13 CPU(3)
| Related Man Pages |
|---|
| less(3pm) - centos |
| cpuset_clr(3) - netbsd |
| cpuset(3) - netbsd |
| cpuset_set(3) - netbsd |
| cpuset_size(3) - netbsd |
| Similar Topics in the Unix Linux Community |
|---|
| Perl agent which calculates CPU info and more |