Disk usage with alerts
- Rust 63.7%
- Shell 36.3%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| src | ||
| .gitignore | ||
| build.sh | ||
| Cargo.lock | ||
| Cargo.toml | ||
| config_template.toml | ||
| README.md | ||
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.