From e5993eb511b05ffc176ebe228175f70f3998d1ca Mon Sep 17 00:00:00 2001 From: Peter Packult Date: Fri, 23 Sep 2011 21:51:26 +0200 Subject: [PATCH] add traffic_status --- src/traffic_status | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 src/traffic_status diff --git a/src/traffic_status b/src/traffic_status new file mode 100755 index 0000000..e2096d1 --- /dev/null +++ b/src/traffic_status @@ -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." \ No newline at end of file