mirror of
https://github.com/bvanroll/_dotfiles.git
synced 2025-08-29 12:02:46 +00:00
initial commit
This commit is contained in:
49
.config/i3blocks/bandwidth2/README.md
Normal file
49
.config/i3blocks/bandwidth2/README.md
Normal file
@@ -0,0 +1,49 @@
|
||||
# bandwidth2
|
||||
|
||||
Monitor bandwidth usage.
|
||||
This is a C version of the bandwidth blocklet.
|
||||
|
||||

|
||||
|
||||
It comes with some other features though:
|
||||
* Automatically estimate what unit (K,M,G,T) to use depending on the value. You can still choose between bits and bytes.
|
||||
* By default sum all the network interfaces (except lo) instead of only default route interface.
|
||||
* Warning and critical colors as an option.
|
||||
* Choice for SI units or binary units.
|
||||
|
||||
## Build
|
||||
|
||||
```
|
||||
make
|
||||
```
|
||||
|
||||
### Config
|
||||
```ini
|
||||
[bandwidth]
|
||||
command=$SCRIPT_DIR/bandwidth2
|
||||
interval=persist
|
||||
markup=pango
|
||||
LABEL=
|
||||
#INTERFACE=(checks all interfaces)
|
||||
#USE_BITS=0
|
||||
#USE_BYTES=1
|
||||
#WARN_RX=0
|
||||
#WARN_TX=0
|
||||
#CRIT_RX=0
|
||||
#CRIT_TX=0
|
||||
#USE_SI=0
|
||||
```
|
||||
|
||||
E.g.
|
||||
|
||||
```ini
|
||||
[bandwidth]
|
||||
command=$SCRIPT_DIR/bandwidth2
|
||||
interval=persist
|
||||
markup=pango
|
||||
LABEL=
|
||||
WARN_RX=307200
|
||||
WARN_TX=30720
|
||||
CRIT_RX=512000
|
||||
CRIT_TX=51200
|
||||
```
|
Reference in New Issue
Block a user