]> git.ipfire.org Git - thirdparty/util-linux.git/commit - sys-utils/lscpu.c
lscpu: show static and dynamic MHz (s390)
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Wed, 22 Jun 2016 07:25:57 +0000 (09:25 +0200)
committerKarel Zak <kzak@redhat.com>
Fri, 24 Jun 2016 08:54:09 +0000 (10:54 +0200)
commit4632b28811c9d2d63a90a78f79244ab614bd9033
treef125db57629d20107c5d86d4b773ad2f5b3336ba
parent156740ca3779faf4aa58deb7cde2ffd356a1bd5c
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 <heiko.carstens@de.ibm.com>
sys-utils/lscpu.c
tests/expected/lscpu/lscpu-s390-lpar-drawer