天天看點

centos7常用監控指令

  1. 檢視系統運作時間及目前CPU負載:
    uptime           
    centos7常用監控指令
  2. 檢視記憶體:
    free  -m           
    centos7常用監控指令
  3. 檢視磁盤:
    df  -h           
    centos7常用監控指令
  4. 檢視程序:
    ps  -aux  |  grep  httpd           
    centos7常用監控指令
  5. 檢視端口:
    netstat  -nutlp  |  grep  80           
    centos7常用監控指令
  6. 檢視CPU、記憶體使用排名:
    top           
    centos7常用監控指令
  7. 檢視網關:
    route  -n           
    centos7常用監控指令
  8. 檢視作業系統資訊:
    uname  -a           
  9. 檢視CPU資訊:
    cat  /proc/cpuinfo           
  10. 檢視目前網絡的使用狀态:
    netstat  -an           

繼續閱讀