linux 根目录突然增大

首先通过zabbix 监控排查,硬盘增大是突增,还是持续增长造成报警

第一种 通过find 命令查找目录最近变更


find / -type f -size +500M 或 mtime -1 最近1小时 或 -mmin -30  最近30分钟

第二种 通过du -sh


du -h --max-depth=1|grep G|sort -n