2008/5/9 李磊 <lilei1008@xxxxxxxxx>: > > > 在08-5-9,Thomas X. Iverson <txi@xxxxxxxxxxxxx> 写道: >> >> 2008/5/9 李磊 <lilei1008@xxxxxxxxx>: >> > >> > >> > 2008/5/8 Thomas X. Iverson <txi@xxxxxxxxxxxxx>: >> >> >> >> txi@ghosTunix:~$ getconf LONG_BIT >> >> 32 >> > >> > 是查看系统位数,还是查看当前所装Linux版本的位数? >> >> >> >> >> >> -- >> >> Keep It Simple Stupid >> >> >> >> http://blog.ghostunix.org >> >> >> >> ghosTM55 >> >> >> > >> > >> >> 好问题,你有条件的话实验一下 > > > 正因为我实验了,才有这个困惑。 > 还有什么其他办法可以看机器是32位还是64位啊? cat /proc/cpuinfo The lm flag is indeed x86-64. The definitions of the flags can be found in the kernel source tree, in the include/asm/cpufeature.h header. >> >> -- >> Keep It Simple Stupid >> >> http://blog.ghostunix.org >> >> ghosTM55 > > -- DerekTan Mobile:15900690080 tandake@xxxxxxxxx