The cpuid command is a utility in Linux that is used to display information about the CPU(s) in a system. This information includes the CPU vendor, model, family, stepping, and various other details such as the supported instruction sets and features.
Here is an example of using the cpuid command:
This will display information about the CPU(s) in the system, including the vendor, model, family, stepping, and supported instruction sets and features.
The cpuid command is a useful tool for obtaining detailed information about the CPU(s) in a system, which can be useful for system administrators, developers, and users who want to know more about their hardware.
If you encounter the below error while running the command cpuid:
cpuid: command not found
you may try installing the below package as per your choice of distribution:
|Debian||apt-get install cpuid|
|Ubuntu||apt-get install cpuid|
|Arch Linux||pacman -S cpuid|
|Kali Linux||apt-get install cpuid|
|CentOS||yum install cpuid|
|Fedora||dnf install cpuid|
cpuid Command Examples
1. Display information for all CPUs:
2. Display information only for the current CPU:
# cpuid -1
3. Display raw hex information with no decoding:
# cpuid -r