1.grep MemTotal /proc/meminfo 查看物理内存大小。
2.grep SwapTotal /proc/meminfo 查看Swap Space。
3.To determine the available RAM and swap space, enter the following command:
# free
4.To determine the distribution and version of Linux installed, enter the following
command:
# cat /proc/version
5.To determine whether the required kernel is installed, enter the following command:
# uname -r