1、查看 CPU: sysctlhw.modelhw.ncpu dmesg|grep\"CPU:\" 2、查看内存: dmesg|grep \"real memory\"|awk -F \'[()]\' \'{print$2,$4,$7,$8}\' 查...