The HDD usage rate of the server exceeds 95%! !!
How to respond quickly when you receive an alert
Investigate with this procedure and rm
what you don't need
//ディスクの使用状況を確認
$ df -h
// Find a large directory of 1GB or more * Size may change depending on the situation
$ du -h ./ | grep [0-9]G
//大きいファイルを直ぐ見つけたい場合はこっちの方が良いかも
$ find ./ -size +1G
//重い順にソートしてファイルを表示
$ ls -lS
If you don't need the target file, delete it with the rm command
.
Recommended Posts