How to know your cpu is 32 bit or 64 bit
Posted on September 21, 2008
For Solaris,you can use command isainfo -kv to know it.
eg:the following command indicate that your cpu is 64 bit
jason@server1[/home/jason]1173% isainfo -kv 64-bit sparcv9 kernel modules
(note: Solaris 2.6 and earlier releases are always 32 bit and lack the “isainfo” command. )
Tips:
The following output indicate that your machine also support 32 bit applications.
jason@server1[/home/jason]1190% isainfo -v 64-bit sparcv9 applications 32-bit sparc applications
For linux,you can get it from /proc/cpuinfo.
eg:
[jason@server2 /proc]$ grep flags /proc/cpuinfo flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext lm 3dnowext 3dnow flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext lm 3dnowext 3dnow
If the column lm is there,your cpu is 64 bit, or it’s 32 bit
Popularity: 10% [?]
» Filed Under Linux
Comments
Leave a Reply