Skip to contentSkip to conversation

cpu id?

DISCUSSION Tim R. Young 3 participants 5 messages Jul 16, 2001 – Jul 17, 2001

lore
Share & tools
lore
#0 lore raw

Hi,

I need a user space tool to read out cpu id. Or documnent that specifies the interface in kernel. Thanks in advance.

- T.

#1 lore raw
Quoted 7 lines · Tim R. Young

Hi,

I need a user space tool to read out cpu id. Or documnent that specifies the interface in kernel. Thanks in advance.

- T.

cat /proc/cpuinfo

Signature · 1 line
Ignacio Vazquez-Abrams  <[email protected]>
#2 lore raw
Quoted 4 lines · Ignacio Vazquez-Abrams
Quoted 3 lines

I need a user space tool to read out cpu id. Or documnent that specifies the interface in kernel. Thanks in advance.

cat /proc/cpuinfo

ftp://ftp.suse.com/pub/people/davej/x86info/

regards

Dave

Signature · 2 lines
| Dave Jones.        http://www.suse.de/~davej
| SuSE Labs
#3 lore raw
In reply to Ignacio Vazquez-Abrams

Dave,

Thanks for the tool.
Do I need kernel support to read out intel processor serial number? And how it is reported by x86info?

- T.

Is it possible to use it read out

Quoted 18 lines · Dave Jones
Quoted 4 lines · Ignacio Vazquez-Abrams
Quoted 3 lines

I need a user space tool to read out cpu id. Or documnent that specifies the interface in kernel. Thanks in advance.

cat /proc/cpuinfo

ftp://ftp.suse.com/pub/people/davej/x86info/

regards

Dave

Signature · 2 lines
| Dave Jones.        http://www.suse.de/~davej
| SuSE Labs
#4 lore raw
Quoted 2 lines · Tim R. Young

Thanks for the tool.
Do I need kernel support to read out intel processor serial number?

By default, the kernel will disable the serial number. You need to pass the boot time parameter 'serialnumber' to leave it enabled. You'll also need the cpuid & msr drivers compiled (into kernel or as loadable modules)

Quoted 1 line

And how it is reported by x86info?

If it is enabled, it'll get printed out with x86info -a

regards,

Dave.

Signature · 2 lines
| Dave Jones.        http://www.suse.de/~davej
| SuSE Labs