gentoo-stats doesn't understand Alpha /proc/cpuinfo. Here are some samples: From a Compaq XP1000 (667 MHz EV67 processor): amt103 root # cat /proc/cpuinfo cpu : Alpha cpu model : EV67 cpu variation : 7 cpu revision : 0 cpu serial number : system type : Tsunami system variation : Monet system revision : 0 system serial number : 4030DRSZ1045 cycle frequency [Hz] : 666666666 timer frequency [Hz] : 1024.00 page size [bytes] : 8192 phys. address bits : 44 max. addr. space # : 255 BogoMIPS : 1326.92 kernel unaligned acc : 0 (pc=0,va=0) user unaligned acc : 14 (pc=120002a24,va=1200154bc) platform string : COMPAQ Professional Workstation XP1000 cpus detected : 1 From a Digital Personal Workstation 600a (aka Miata): root@amt102:~# cat /proc/cpuinfo cpu : Alpha cpu model : EV56 cpu variation : 7 cpu revision : 0 cpu serial number : system type : Miata system variation : 0 system revision : 0 system serial number : cycle frequency [Hz] : 600000000 timer frequency [Hz] : 1024.00 page size [bytes] : 8192 phys. address bits : 40 max. addr. space # : 127 BogoMIPS : 1183.84 kernel unaligned acc : 0 (pc=0,va=0) user unaligned acc : 0 (pc=0,va=0) platform string : Digital Personal WorkStation 600au cpus detected : 1 More available on request.
cpu : Alpha cpu model : EV5 cpu variation : 7 cpu revision : 0 cpu serial number : system type : Alcor system variation : Alcor system revision : 0 system serial number : cycle frequency [Hz] : 333333333 timer frequency [Hz] : 1024.00 page size [bytes] : 8192 phys. address bits : 40 max. addr. space # : 127 BogoMIPS : 660.40 kernel unaligned acc : 0 (pc=0,va=0) user unaligned acc : 0 (pc=0,va=0) platform string : Digital AlphaStation 600 5/333 cpus detected : 1
Created attachment 11014 [details] gentoo-stats to support alpha I'm just attaching a whole new version instead of a patch because then it's easier to see what's going on with a visual diff tool. Note: It looks like a lot of changes, but it's not really. I split get_cpus into separate subroutines depending on the platform type, creating get_cpus_x86, get_cpus_ppc, and get_cpus_alpha. In reality, the only *new* code is get_cpus_alpha.
Reassigning to codebear for absorption into new gentoo-stats. Codebear, my attachment to this bug adds alpha support to the gentoo-stats client. It's based on the Perl version 0.4 in the portage tree. Assuming Python understands forward lookahead assertions, it should be fairly easily ported. Let me know if there's any trouble...
*** This bug has been marked as a duplicate of 30923 ***