服务器巡检不需要什么高大上的监控系统,几条命令配合每天花两分钟就能掌握运行状况。
top -bn1 | head -5
free -h
df -h
ss -tunap | grep ESTAB | wc -l
建议写到脚本里每天早上执行一次。
- 感谢阅读 -