From 4632b28811c9d2d63a90a78f79244ab614bd9033 Mon Sep 17 00:00:00 2001 From: Heiko Carstens Date: Wed, 22 Jun 2016 09:25:57 +0200 Subject: lscpu: show static and dynamic MHz (s390) s390 machines provide static and dynamic cpu mhz information via /proc/cpuinfo. The static cpu mhz is the normal cpu frequency a cpu is supposed to run with. The dynamic cpu mhz is the actual frequency a cpu is running with. This is usually the same as the static cpu mhz. Note that this values are different to the min/max mhz values available on other architecutes. The min/max values are unknown. This patch adds two new fields to the summary output which display these two values. Signed-off-by: Heiko Carstens --- tests/expected/lscpu/lscpu-s390-lpar-drawer | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests') diff --git a/tests/expected/lscpu/lscpu-s390-lpar-drawer b/tests/expected/lscpu/lscpu-s390-lpar-drawer index accbff821..88fe1009e 100644 --- a/tests/expected/lscpu/lscpu-s390-lpar-drawer +++ b/tests/expected/lscpu/lscpu-s390-lpar-drawer @@ -9,6 +9,8 @@ Drawer(s): 4 NUMA node(s): 1 Vendor ID: IBM/S390 Model name: 0 +CPU dynamic MHz: 5000 +CPU static MHz: 5000 BogoMIPS: 20325.00 Hypervisor: PR/SM Hypervisor vendor: IBM -- cgit v1.2.3-55-g7522