Skip to main content

Disk Usage Monitor

The script is unofficial and not supported by Ultra.cc staff.

Prerequisites

How It Works

  • The script uses the space and quota values returned by the command quota -s to calculate disk usage.
  • First, you will be asked to choose whether you wish to Install or Uninstall the script.
  • Then, you will be asked to provide a Discord Webhook URL. This will be used to send notifications to you when your disk is full.
  • The trigger condition is 90% usage of the total disk space.
  • Optionally, the script can also stop all torrent clients and usenet downloaders on your service once 90% of your disk space is used up.

The script is experimental. Please do not rely on it to manage your disk usage. Feedback is welcome for improvements via Discord or tickets.

Installation

  • Execute the following command via SSH:
bash <(wget -qO- https://scripts.usbx.me/util/quota_check/quota_installer.sh)
  • Choose option 1.

Uninstallation

  • Execute the following command via SSH:
bash <(wget -qO- https://scripts.usbx.me/util/quota_check/quota_installer.sh)
  • Choose option 2.

Log file Location

  • It will be stored at the following location: ~/scripts/quota_check/quota.log