Identify CPU clock speed when its not visible under different commands like lscpu ?

In this article, we will see how to check CPU clock speed on Linux or Unix servers when its not visible under different commands.

1. Check CPU Info

[root@ngelinux001~]# cat /proc/cpuinfo | head
processor       : 0
BogoMIPS        : 400.00
Features        : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics cpuid asimdrdm
CPU implementer : 0x43
CPU architecture: 8
CPU variant     : 0x1
CPU part        : 0x0af
CPU revision    : 1

 

2. List all CPUs

[root@ngelinux001~]# lscpu
Architecture:          aarch64
Byte Order:            Little Endian
CPU(s):                224
On-line CPU(s) list:   0-223
Thread(s) per core:    4
Core(s) per socket:    28
Socket(s):             2
NUMA node(s):          2
Model:                 1
BogoMIPS:              400.00
L1d cache:             unknown size
L1i cache:             unknown size
L2 cache:              unknown size
L3 cache:              unknown size
NUMA node0 CPU(s):     0-111
NUMA node1 CPU(s):     112-223
Flags:                 fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics cpuid asimdrdm
[root@ngelinux001~]#

 

3. Using dmidecode
As we can see above the CPU frequency is not visible in above two commands.

Hence the useful command now is dmidecode which shows all hardware configuration of the server.

[root@ngelinux001~]# dmidecode | grep -iB5 mhz
        Family: ARM
        Manufacturer: NGEL Inc.
        ID: F1 0A 1F 43 00 00 00 00
        Version: NGEL ThunderX2(R) CPU CN9975 v2.1 @ 2.0GHz
        Voltage: 0.8 V
        External Clock: 33 MHz
        Max Speed: 2500 MHz
        Current Speed: 2000 MHz

I hope you liked the trick, sometimes its confusing that why the CPU frequency is not visible in lscpu and cpuinfo commands.

0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments