add traffic_status
This commit is contained in:
parent
cf7c274589
commit
e5993eb511
1 changed files with 10 additions and 0 deletions
10
src/traffic_status
Executable file
10
src/traffic_status
Executable file
|
@ -0,0 +1,10 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
source $(dirname $0)/traffic_common.sh
|
||||||
|
|
||||||
|
echo -e \
|
||||||
|
"Consumed: $(($TPer + $TEph)) B
|
||||||
|
($TPer B accounted to disk)
|
||||||
|
Limit: $TMax B
|
||||||
|
|
||||||
|
Please donate $(($(($TPer + TEph)) / $BytesPerCent)) cent."
|
Reference in a new issue