Sunday, June 27, 2021

How to fill the disks and remove the same. (Do not try on the production)

To Fill the disk

cat /dev/zero > /var/log/application.log


recover the disk space

truncate -s 0 /var/log/application.log

Note: Taken from the net.

No comments:

Post a Comment