lscpu uses unfitting "MHz" in frequency scaling item

Benno Schulenberg <[email protected]>
Newsgroups org.kernel.vger.util-linux
Message-ID <[email protected]>
Hi,

Since commit 9b9e4f5d06be55f4b9e1a52b448055933df92c6b
from four years ago, lscpu lists also an item like this:

   CPU(s) scaling MHz: 61%

The printed value is a percentage, not a frequency, so the
"MHz" should not be there, I think -- the percentage would
be the same no matter whether the frequencies (in other items)
are shown in kHz or MHz or GHz.  So I propose to change the
message to:

   CPU(s) frequency scaling: 61%

Or abbreviated:

   CPU(s) freq. scaling: 61%


[In Dutch I'm translating it as if it said:

     CPU(s) frequency level: 61%

as the word "scaling" here is untranslatable.]


I would provide a patch, but the message occurs in a dozen
or more tests.  And probably the column name needs to be
changed too, from SCALMHZ% to FREQSCAL% or SCALING%?


Benno
OpenPGP_signature.asc (application/pgp-signature, 840 B)
-----BEGIN PGP SIGNATURE-----

wsF5BAABCAAjFiEEFo5vQpe/16ea/USWUUu+Lrjhlh8FAmeWE+kFAwAAAAAACgkQUUu+Lrjhlh+H
+RAAnkG+kXVpFH927LbLMl/KJ6RWA7e0MZUfLtT5nDg5JBdhk+cGLoI81UVPwQIiy20hI3jzdxq+
901DLEb/zG65BV+pzTqMisLqr1+sSU3CXjN60+jpQZoec2x82WX02YGbdGZMMWAjCy1QOsu6Q/Ol
oJGFXL6/tlN2shP5JXNibdfsn9/eYcUQx07587HYU717LMn8XAt/QeQ6pTh8qFFOU5sKdFXO3JTh
AM1K+e+8vtk+oSjf1q9VjEIE5NSaWsnEkRsLX4bgamu/xQI68/7uzmx137lcVwaUXBrJ/wE4ZIvR
xTWikW2nu2Q2ElCpGgHU9T4L7GGKeooLCd0ra44dbs7WwczQ/iQqrD+QTNRnRPKqPTaAqDPEL4OW
5FjqOYnY/yyv5Hh6q4QCUvXZ16NmmC7F9KzxnIQ4HE8yub2dh6p6WCNMyJ0ubsiy9P6eqFXzDmPQ
KPHEfeGiGW6u9AvhLqTL3+1QB5QrKc76nbllJXQ4GbkUwWvdveQ8FCHTaOFTaaK/17rT9tq87NKY
lZ97S6ROfKlxGY1P42epWsjj7xvdni0eShu+U/i5u0BCaax5hLIlUrE9sgaSA/lAmyV+8XxXRsOb
TOHt+POqHZUfMPR6GTND3qzRd7SzesYjiW17rrkA/sYqXWJviLVSb75b+V4d73lzpbNdNGMCsn6r
lmE=
=aRbI
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.