Exclusive Metin2 game shield on FreeBSD: Automatic siege mode, VIP list, and whitelist from your dashboard. See how it works
Create a server

Guide

How to Install and Use ncdu

cdu is an interactive du: it sorts folders by size so you quickly see what eats the disk before deleting blindly.

Steps

  1. Install ncdu:

    sudo apt update
    sudo apt install -y ncdu
  2. Scan the filesystem (start at / or a specific mount):

    sudo ncdu -x /
  3. Inside ncdu: arrows to move, Enter to open, d to delete (carefully), q to quit.

  4. Scan without crossing other mounts (useful with extra disks):

    sudo ncdu -x /var

Tips

  • Do not delete /boot, kernel logs or database data without a backup.
  • After cleaning huge logs, check logrotate so they do not grow unbounded again.

ext step

Disk and RAM sized for you: Deploy your Cloud VPS.

Related guides