Re: Disk is filling up with large files. How can I clean?

Поиск
Список
Период
Сортировка
От Greg Sabino Mullane
Тема Re: Disk is filling up with large files. How can I clean?
Дата
Msg-id CAKAnmmKUaeqPjsMdaqK6F8xk0kJ1nzkYN_tbR7i-0xiQp_dVqw@mail.gmail.com
обсуждение исходный текст
Ответ на Disk is filling up with large files. How can I clean?  (Mikael Petterson <mikaelpetterson@hotmail.com>)
Ответы Re: Disk is filling up with large files. How can I clean?
Список pgsql-general
On Wed, Oct 9, 2024 at 4:10 AM Mikael Petterson <mikaelpetterson@hotmail.com> wrote:
Hi,
 
I find our disk is filling up.
 
sudo find /var/lib -type f -size +100M -exec ls -lh {} \; | awk '{ print $9 ": " $5 }'
... 

Those files only add up to about 30GB. That's pretty small these days : time for a bigger disk? Or perhaps the space is elsewhere: probably want to do something like 
sudo find / -xdev -maxdepth 2 -exec du -sh {} \; | grep -E 'G|M' | sort -g

Cheers,
Greg

В списке pgsql-general по дате отправления: