Linux command
cpuid 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Example
cpuid
Example
cpuid -1
Example
cpuid -r
Example
cpuid -k
Example
cpuid -f [cpuid_dump.txt]
说明
cpuid dumps detailed CPU information by executing the CPUID instruction and decoding the results. It displays processor identification, feature flags, cache information, and other CPU details. More detailed than /proc/cpuinfo, it shows low-level processor capabilities.
参数
- -1, --one-cpu
- Display information for current CPU only
- -r, --raw
- Show raw hex values without decoding
- -f, --file _file_
- Read raw data from file instead of executing CPUID instruction
- -k, --kernel
- Use the kernel CPUID module (/dev/cpu/*/cpuid); may require root
- -h, --help
- Display help information
- -v, --version
- Display cpuid version
FAQ
What is the cpuid command used for?
cpuid dumps detailed CPU information by executing the CPUID instruction and decoding the results. It displays processor identification, feature flags, cache information, and other CPU details. More detailed than /proc/cpuinfo, it shows low-level processor capabilities.
How do I run a basic cpuid example?
Run `cpuid` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -1, --one-cpu do in cpuid?
Display information for current CPU only