mirror of
https://github.com/bvanroll/_dotfiles.git
synced 2025-08-29 20:12:42 +00:00
20 lines
408 B
Markdown
20 lines
408 B
Markdown
# disk
|
|
|
|
Show disk usage. The directory defaults to $HOME if the instance is not
|
|
specified. The script may be called with an optional argument to set the
|
|
alert (defaults to 10 for 10%).
|
|
The script also accepts the flag `-n` to allow checking the disk usage of network devices,
|
|
which is disabled by default.
|
|
|
|
|
|
# Config
|
|
|
|
```
|
|
[disk]
|
|
command=$SCRIPT_DIR/disk
|
|
LABEL=HOME
|
|
#DIR=$HOME
|
|
#ALERT_LOW=10
|
|
interval=30
|
|
```
|