Hi guys, I have merged new lscpu(1) to our master branch. Changes: * code is more readable and better structured (I hope) * data about CPU and CPU-type are maintained in separate structs * supports multiple CPU-types (model and topology) on one system (the old version reads topology only from CPU0 only) Example from system with A53 and A72 with different number of cores: Vendor ID: ARM Model name: Cortex-A53 Model: 4 Thread(s) per core: 1 Core(s) per socket: 4 Socket(s): 1 Stepping: r0p4 CPU max MHz: 1416.0000 CPU min MHz: 408.0000 BogoMIPS: 48.00 Flags: fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid Model name: Cortex-A72 Model: 2 Thread(s) per core: 1 Core(s) per socket: 2 Socket(s): 1 Stepping: r0p2 CPU max MHz: 1800.0000 CPU min MHz: 408.0000 BogoMIPS: 48.00 Flags: fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid * the default output on the terminal is organized in sections to make it more readable for humans, non-terminal output (>file, |grep, etc) is still "flat". * the output for --extended and --parse provides more columns now * it uses cache IDs as exported by new kernels; it's possible that --extended and --parse cache identifiers will not start from zero. It's an expected change. * all recent ARM related changes has been merged into the new code too I have /sys and /proc dumps from many systems, but it's still possible that the new lscpu will print non-senses in some cases. Please, test it on your machines, exotic or unusual systems, etc. You know ... ;-) Thanks! Karel -- Karel Zak <kzak@xxxxxxxxxx> http://karelzak.blogspot.com