diagnostic espace disque

18/10/2024
df -h /
docker system df
ncdu -o /tmp/ncdu.json /root
ncdu -f /tmp/ncdu.json

plus grosses bases
SELECT table_schema "DB Name",
round(data_length + index_length / 1024 / 1024) AS nb
FROM information_schema.tables 
GROUP BY table_schema
ORDER BY nb desc

plus grosses tables
SELECT table_schema "DB Name", TABLE_NAME,
round(data_length + index_length / 1024 / 1024) AS nb
FROM information_schema.tables
ORDER BY nb desc

cronalert
du df logsize 

Raccourcis