http://blog.csdn.net/cgwcgw_/article/details/10000053

cpu个数

cat /proc/cpuinfo | grep "physical id" | uniq

cpu核数

cat /proc/cpuinfo | grep "cpu cores" | uniq

内存总数

cat /proc/meminfo | grep MemTotal

硬盘使用情况:df -h 

相关文章:

  • 2022-01-20
  • 2021-08-14
  • 2022-12-23
  • 2021-08-01
  • 2021-07-08
  • 2021-06-15
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-01-04
  • 2021-11-30
  • 2021-12-07
  • 2022-01-31
  • 2022-12-23
相关资源
相似解决方案