get_sys_info
获取linux系统信息
[root@rbtnode1 data2]# sh get_svr_info.sh
CPU:
model name: Intel(R) Xeon(R) CPU E5-2407 0 @ 2.20GHz
cpu MHz: 1292.956
cache size: 10240 KB
cores cnt: 8
MEM:
Mem: 48090 MB
Swap: 0 MB
DISK:
/dev/sda2: 48G
/dev/sda1: 190M
/dev/sdb1: 3.6T
OS:
Description: CentOS Linux release 7.6.1810 (Core)
Kernel Version: 3.10.0-957.12.2.el7.x86_64
Started Since: 2019-06-26 12:06:51
Module Loadable: Yes
Iptables Rules: On