diff options
author | Thomas Graf <tgraf@suug.ch> | 2014-05-08 15:16:38 +0200 |
---|---|---|
committer | Thomas Graf <tgraf@suug.ch> | 2014-05-08 15:16:38 +0200 |
commit | 46ec101b00e1e1a791bb8b587a5c0907c41fd601 (patch) | |
tree | b6d74429c0828dd0194a8c5613c68d3434e8e48f /etc/bmon.conf | |
parent | 127ffda0157ea3c60f7dec181de5d6b6d74b1312 (diff) |
Add -b / --use-bit option to display rates in bit/s instead of bytes/s
Signed-off-by: Thomas Graf <tgraf@suug.ch>
Diffstat (limited to 'etc/bmon.conf')
-rw-r--r-- | etc/bmon.conf | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/etc/bmon.conf b/etc/bmon.conf index 567a131..d545229 100644 --- a/etc/bmon.conf +++ b/etc/bmon.conf @@ -33,17 +33,25 @@ * div = { 1, 1000, 1000000, 1000000000, 1000000000000 } * txt = { "B", "KB", "MB", "GB", "TB" } * } + * variant bit { + * div = { 0.125, 125, 125000, 125000000, 125000000000 } + * txt = { "b", "Kb", "Mb", "Gb", "Tb" } + * } * } * * unit bit { * variant default { - * div = { 1, 1024, 1048576, 1073741824, 1099511627776} - * txt = { "b", "Kib", "Mib", "Gib", "TiB" } + * div = { 1, 1000, 1000000, 1000000000, 1000000000000 } + * txt = { "b", "Kb", "Mb", "Gb", "Tb" } * } * variant si { * div = { 1, 1000, 1000000, 1000000000, 1000000000000 } * txt = { "b", "Kb", "Mb", "Gb", "Tb" } * } + * variant bit { + * div = { 1, 1000, 1000000, 1000000000, 1000000000000 } + * txt = { "b", "Kb", "Mb", "Gb", "Tb" } + * } * } * * unit number { |