Disk usage with alerts
  • Rust 63.7%
  • Shell 36.3%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-08-04 08:04:02 +02:00
src Readme and send email error handling 2026-08-04 07:32:20 +02:00
.gitignore First working version 2026-08-03 16:48:39 +02:00
build.sh Build system fix 2026-08-04 08:04:02 +02:00
Cargo.lock Build system fix 2026-08-04 08:04:02 +02:00
Cargo.toml Build system fix 2026-08-04 08:04:02 +02:00
config_template.toml Config file fix 2026-08-04 07:33:29 +02:00
README.md Build system fix 2026-08-04 08:04:02 +02:00

Disk usage with alerts

How to use it

Du-x can be used both interactively or as a scheduled script, it has two main params:

  • "-config-folder" (short -c) where you can specify a config file.
  • "-silent" (short -s) avoid printing disk usage table, mainly for scheduled scripts

If a valid config file is found, dux reads the alert threshold from file, otherwise it uses the default 65% value, and in case of a mount point above this threshold sends an alert email.

See the included config_template.toml to create your own config file.

Build the app

If you want to build dux with the provided build.sh you will need to install zigbuild.