查用户
检测磁盘使用量df | sed '1d' | awk -F ' +|%' '$5>=85' > $dir/df.tmp
检查新文件find -mmin -5
列出最常用的命令cat ~/.bash_history | sort | uniq -c | sort -nr | head
统计文件大小
转载于:https://blog.51cto.com/11044100/2339958
查用户
检测磁盘使用量df | sed '1d' | awk -F ' +|%' '$5>=85' > $dir/df.tmp
检查新文件find -mmin -5
列出最常用的命令cat ~/.bash_history | sort | uniq -c | sort -nr | head
统计文件大小
转载于:https://blog.51cto.com/11044100/2339958