1.查看系统一级二级缓存
cat /sys/devices/system/cpu/cpu0/cache/index0/size
cat /sys/devices/system/cpu/cpu0/cache/index1/size
lscpu也可以查看到
2.查看cpu放在第几块插槽
cat /sys/devices/system/cpu/cpu0/cache/index1/shared_cpu_list
cat /sys/devices/system/cpu/cpu1/cache/index2/shared_cpu_list