方法1
uname -i
方法2
getconf LONG_BIT
方法3
CentOS 6.X及低版本 file /sbin/init
CentOS 7.X file /lib/systemd/systemd
方法4
对于Debian或者基于Debian的发行版使用
dpkg --print-architecture
方法5
Ubuntu可在X window下看setting