I would like to get the following output from
lscpu
:
(number of cores) x (cpu model name) @ (max mhz)
I already figured out the attribute I need:
- Model name:
- Core(s) per socket
- CPU max MHz
But on my system, there are multiple CPUs with different models and clock speeds. So I have multiple attributes in output named Model name:
.
I want the output mentioned above, only with grep
, awk
and/or sed
.
Any help will be appreciated.
Asked by sudoer
(65 rep)
Aug 27, 2022, 12:05 PM
Last activity: Aug 28, 2022, 07:45 AM
Last activity: Aug 28, 2022, 07:45 AM