
Total RX/TX
Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net
This little script get's information about Rx and Tx bytes, calculates into Kb/Mb/Gb as needed... this is for KARAMBA
got to make it coz all Karambas comes with scripts for Net that greps RX/TX bytes from ifconfig, where counter resets at 5Gb, so i needed total download/upload
needed apps:
sudo (without password)
iptables
usage:
--in : display RX bytes
--out : display TX bytes
--count [n] : set number of characters after (.)
eg:
./net.pl --in --count 3
16391720805 bytes = 15.266Gb
./net.pl --in
16391720805 bytes = 15.27Gb
./net.pl --out --count 5
102656756527 bytes = 95.60663Gb
./net.pl --out
102656756527 bytes = 95.61Gb
Please login or register to add a comment or rating