Linux檢查統基本資源

  1. 檢查CPU數量

    nproc

  2. 檢查memory與Swap

    free -ht

  3. 檢查磁碟空間

    df -h /