方法一:
[[email protected] ~]#uname -m
x86_64 表示64位
方法二:
[[email protected] ~]#uname -a
i686 i386 表示32位
来源: http://www.bubuko.com/infodetail-2017905.html