The Sys::CPU Perl offers an API to get the number of CPUs and its speed and type. It reports numbers, type, and clockspeed of CPUs.
Installed Size: 44.0 kB Architectures: amd64 arm64