LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   x86_64 ?x86_32 (https://www.linuxquestions.org/questions/linux-hardware-18/x86_64-x86_32-a-588736/)

wanghao 10-01-2007 06:42 PM

x86_64 ?x86_32
 
hi,everyone sorry to trouble you .
I need to judge a system cpu whether is x86_64 or x86_32
under linux ?How can i do ,anyone thanks!

PatrickNew 10-01-2007 08:36 PM

use this command:
Code:

uname -i

win32sux 10-01-2007 08:53 PM

Not a security question - moved to Hardware.

wahman143 10-02-2007 07:28 AM

You can also do a

Code:

# cat /proc/cpuinfo
and that will give you info about your CPU(s).

Cheers,
W.

osor 10-02-2007 12:48 PM

Quote:

Originally Posted by PatrickNew (Post 2909913)
use this command:
Code:

uname -i

I think
Code:

uname -m
is more acceptable. It still doesn’t tell you whether you have an x86_64 processor—only that you are running an x86 or x86_64 kernel.

wanghao 10-02-2007 08:23 PM

still puzzled.but thanks!

win32sux 10-02-2007 09:07 PM

Quote:

Originally Posted by wanghao (Post 2911166)
still puzzled.but thanks!

Puzzled how?

Sepero 10-02-2007 09:55 PM

Post to us what this outputs:
cat /proc/cpuinfo

wanghao 10-03-2007 07:51 PM

yes,all right.
it can be judged by the type of cpu.Good idea,i'm noob.

kamald 10-04-2007 01:59 AM

Intel 64 bit architecture
 
For intel 64 bit architecture that is em64t
One need to check for the pni or lm (may be both) flags in /cat /proc/cpuinfo

Kamal D


All times are GMT -5. The time now is 06:45 AM.