查看系统相关
系统的类型、版本
# 指令:
uname -a
# 返回:
Linux cosce 3.10.0-1160.15.2.el7.x86_64 #1 SMP Wed Feb 3 15:06:38 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
内存相关情况
# 指令:
free -m
# 返回:
total used free shared buff/cache available
Mem: 7820 1555 1908 320 4356 5645
Swap: 0 0 0