Skip to content

willemw12/btrfs-usage-monitor-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Btrfs usage monitor

A simple Btrfs disk space usage monitor.

There is also a version written in Rust.

Feature

  • Print a warning if the Btrfs filesystem data usage drops below a free limit percentage.

Installation

The following steps require that Go is installed. The install path used here ($HOME/bin) is an example.

Run, for example:

$ git clone https://github.com/willemw12/btrfs-usage-monitor-go
$ cd btrfs-usage-monitor-go
$ GOBIN=$HOME/bin go install

Usage

# btrfs-usage-monitor /mnt/btrfs 10
WARNING /mnt/btrfs free: 752.58GiB (min: 681.47GiB), 9% (limit: 10%)

License

GPL-3.0 or later

Link

GitHub

About

A simple Btrfs disk space usage monitor

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages