Linux Man Pages
man7.org › linux › man-pages › man4 › cpuid.4.html
cpuid(4) - Linux manual page
CPUID provides an interface for querying information about the x86 CPU. This device is accessed by lseek(2) or pread(2) to the appropriate CPUID level and reading in chunks of 16 bytes. A larger read size means multiple reads of consecutive levels. The lower 32 bits of the file position is ...
Linux Man Pages
linux.die.net › man › 1 › cpuid
cpuid(1): Dump CPUID info for each CPU - Linux man page
cpuid dumps detailed information about the CPU(s) gathered from the CPUID instruction, and also determines the exact model of CPU(s) from that information.
U-Boot Documentation
docs.u-boot.org › en › latest › usage › cmd › cpuid.html
cpuid command — Das U-Boot unknown version documentation
The cpuid command requests CPU-identification information on x86 CPUs. The operation <op> selects what information is returned.
nixCraft
cyberciti.biz › nixcraft › howto › centos › how to read cpuid instruction for each cpu on linux with x86info and cpuid commands
How To Read CPUID Instruction For Each CPU on Linux With x86info and cpuid Commands - nixCraft
December 14, 2015 - It dumps all information available from the CPUID instruction. The exact collection of information available varies between manufacturers and processors. The following information is available consistently on all modern CPUs: ... Simply type the following command (this command provides lots of useful information including list of all features in human readable format): # cpuid # cpuid | less # cpuid | grep 'something' Sample outputs:
GitHub
github.com › tycho › cpuid
GitHub - tycho/cpuid: A simple CPUID decoder/dumper for x86/x86_64 · GitHub
A simple CPUID decoder/dumper for x86/x86_64. Contribute to tycho/cpuid development by creating an account on GitHub.
Starred by 206 users
Forked by 60 users
Languages C 96.9% | Makefile 1.4% | Perl 1.1% | Meson 0.6%
ManKier
mankier.com › home › cpuid
cpuid: Dump CPUID information for each CPU | Man Page | Commands | cpuid | ManKier
cpuid dumps detailed information about the CPU(s) gathered from the CPUID instruction, and also determines the exact model of CPU(s) from that information.
OSDev Wiki
wiki.osdev.org › CPUID
CPUID - OSDev Wiki
The CPUID instruction can be used to retrieve various information about your CPU, such as its vendor string and model number, the size of internal caches and (more interesting), the list of CPU features supported.
Oracle
docs.oracle.com › cd › E23161_01 › html › E23099 › gnddz.html
cpu cpuid - Oracle® x86 Server Diagnostics, Applications, and Utilities Guide
The cpu cpuid command executes the x86 CPU Identification (CPUID) instruction given EAX and optional ECX. EAX and ECX are x86 general purpose execution registers.
Intel
intel.com › product support › processors › intel® processor
How to Get the CPUID for Intel® Processors
The last five digits of the number are displayed to represent the CPUID for the processor.
Reddit
reddit.com › r/intel › where do i enter the cpuid instruction command to inspect the cpu.
r/intel on Reddit: Where do I enter the CPUID instruction command to inspect the CPU.
July 27, 2018 -
I was reading about the Intel SGX and how you can run CPUID with the Structured Extended Feature Leaf flag to check if your processor is SGX compatible, where do you enter this? the CMD? it doesn't recognize that command on my laptop.
Top answer 1 of 4
5
SGX support is indicated by CPUID.0x7.EBX[2] Compile this and run it: #include int main(int argc, const char * argv[]) { unsigned int ebx = 0; asm("cpuid" : "=b"(ebx) : "a"(7), "c"(0)); printf("sgx? %d\n", (ebx >> 2) & 1); return 0; }
2 of 4
4
CPUID isn't a software command. It's a low level CPU instruction. You can't query it yourself unless you learn assembly language, but there's plenty of software available that will do it for you.
GitHub
github.com › ipxe › ipxe › blob › master › src › arch › x86 › hci › commands › cpuid_cmd.c
ipxe/src/arch/x86/hci/commands/cpuid_cmd.c at master · ipxe/ipxe
/** "cpuid" command descriptor */ static struct command_descriptor cpuid_cmd = COMMAND_DESC ( struct cpuid_options, cpuid_opts, 1, 1, "<bit>" ); · /** * The "cpuid" command · * * @v argc Argument count · * @v argv Argument list · * @ret rc Return status code ·
Author ipxe
freeCodeCamp
freecodecamp.org › news › retrieve-system-information-using-cpuid
How to Retrieve System Information Using The CPUID Instruction
October 3, 2024 - For bootloader or kernel developers, understanding what features a processor supports—such as hardware virtualization, cache sizes, or SIMD instructions—can ensure that the system runs efficiently and that the code you write is compatible across different CPUs. By utilizing the CPUID instruction, you can dynamically adjust your kernel’s behavior based on the specific processor it is running on.
Felix Cloutier
felixcloutier.com › x86 › cpuid
CPUID — CPU Identification
CPUID.EAX = 0AH (* Returns Architectural Performance Monitoring leaf. *) CPUID.EAX = 0BH (* Returns Extended Topology Enumeration leaf. *)2 CPUID.EAX =1FH (* Returns V2 Extended Topology Enumeration leaf.
MS.Codes
ms.codes › blogs › computer-hardware › how-to-get-cpu-id-from-command-prompt
How To Get CPU ID From Command Prompt
February 13, 2024 - The process of obtaining the CPU ID from the Command Prompt is both straightforward and informative. By using the 'wmic' command, you can access the Windows Management Instrumentation Command-line utility, which provides a wide range of system information. With a single line of code, you can extract the CPU ID and access details such as the manufacturer, model, and other essential specifications.