头图

Check whether the system is 32-bit or 64-bit

getconf LONG_BIT
  • 32: means 32 bits
  • 64: means 64 bits

View the kernel information of the current system

uname -a

View the release version of the system

cat /etc/issue

View cpu model

cat /proc/cpuinfo | grep name | cut -f2 -d: | uniq -c

View the summary information of the cpu

  • Small but fine

    lscpu
  • Big and complete

    cat /proc/cpuinfo

View memory size

free -mh |grep "Mem" | awk '{print $2}'

CoolCold
53 声望3 粉丝

go~ go~ go~