在linux下如何查看CPU是否支持64位的方法是: # grep "flags" /proc/cpuinfo flags : fpu tsc msr pae mce cx8 apic mtrr mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc pni monitor ds_cpl vmx smx est tm2 cx16 xtpr lahf_lm flags : fpu tsc msr pae mce cx8 apic mtrr mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_...
by holmes86 - Linux文档专区 - 2009-02-17 14:12:28 阅读(1596) 回复(0)
getconf LONG_BIT 或 file /sbin/init 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/6436/showart_1797266.html
getconf LONG_BIT 或 file /sbin/init 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/6436/showart_1797265.html
有以下的查看方法,但是我不知道哪个是查操作系统是否是64位,哪个是针对CPU的. [root@Dell_85_102 ~]# uname -m x86_64 [root@Dell_85_102 ~]# file /sbin/init /sbin/init: ELF 64-bit LSB executable, AMD x86-64, version 1 (SYSV), for GNU/linux 2.4.0, dynamically linked (uses shared libs), stripped 谢谢!
[color="#000102"]1.#uname -a[color="#000102"]如果有x86_64就是64位的,没有就是32位的 [color="#000102"]这是64位的 [color="#000102"]# uname -a linux WORKS 2.6.9-11.ELsmp #1 SMP Fri May 20 18:25:30 EDT 2005 x86_64 x86_64 x86_64 GNU/linux [color="#000102"]这是32位的 [color="#000102"]#uname -a linux backup 2.6.9-67.ELsmp #1 SMP Wed Nov 7 13:58:04 EST 2007 i686 i686 i386 GNU/linux [color="#000102"]注意:...
linux # uname -a linux DELL2950 2.6.5-7.244-smp #1 SMP Mon Dec 12 18:32:25 UTC 2005 i686 i686 后面是 X686或X86_64则内核是64位的,i686或i386则内核是32位的 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u3/94423/showart_1906028.html