shell腳本監控cpu/內存使用率

該腳本檢測cpu和內存的使用狀況,只須要調整memorySetting、cpuSetting、userEmail要發郵件報警的email地址便可 若是沒有配置發郵件參數的哥們,已配置了的,直接飛到代碼區: 1.vim /etc/mail.rc 2.找到如下內容 set from=yangxingyi@duoduofenqi.com #來自什麼 set smtp=smtp.exmail.qq.com
相關文章
相關標籤/搜索