linux常用命令(二)服务器硬件资源信息

  • 内存:free -m
  • 硬盘:df -h
  • 负载:w/top
  • cpu个数和核数:cat /proc/cpuinfo