×
Logo
  • News
  • Pricing
  • Contact
  • Client Area
Control Panel

Search

Applications

Client Area

Community

Connection Details

Control Panel

Getting Started

Misc Guides

Rclone

Torrent Clients

Unofficial Application Installers

Unofficial Language Installers

Unofficial SSH Utilities

Share your knowledge, submit a guide!

Ultra.cc Documentation
Ultra.cc Documentation
📘

Disk Usage Monitor

Disk Usage Monitor

All unofficial utilities are provided for your convenience. The scripts are provided as-is and may not be updated or maintained by Ultra.cc. Clients are welcome to use and customize unofficial scripts for their unique needs and requirements. Unofficial support may be offered via Discord only and at the sole discretion of Ultra.cc staff.
Use at your own risk.

The Disk Usage Monitor script will monitor your disk space and send a notification via Discord when you are running out of disk space.

Prerequisites

  • Familiarity with the Linux command line.
  • Command execution via SSH.
  • Discord Webhook URL.

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.

Installation

  • Execute the following command via SSH:
bash <(wget -qO- https://scripts.ultra.cc/util-v2/Ultra-Quota-Checker/main.sh)
  • Type 1 and confirm with ENTER to proceed with the installation.
  • When prompted, paste your Discord Webhook URL and press ENTER.
  • Next, you will be asked if you want to stop torrent clients when your storage quota has been filled.
    • Type yes or no and press ENTER to confirm.
  • A cronjob to check your storage quota will be set up to run every 3rd minute.
  • Done!

Log

  • Log file location: ~/scripts/quota_check/quota.log

Uninstallation

  • Execute the following command:
bash <(wget -qO- https://scripts.ultra.cc/util-v2/Ultra-Quota-Checker/main.sh)
  • Type 2 and confirm with ENTER to proceed with the uninstallation.
  • Done!

If you require further assistance, you can open a support ticket here!

Feedback and suggestions regarding this article are welcome on our Discord server

  • Disk Usage Monitor
  • Prerequisites
  • How It Works
  • Installation
  • Log
  • Uninstallation
Logo

© 2025 SlashN Services Pte. Ltd. All rights reserved.

Discord