Thread
:
Desktop Command Execution Widget scripts
View Single Post
airjordan17
2010-03-03 , 02:33
Posts: 20 | Thanked: 15 times | Joined on Dec 2009
#
163
Don't know if someone's posted something like this already, but I thought I'd share a DCEW script I created. It shows the data transferred (up and down) over WLAN since the last phone boot. It serves the same purpose as the Personal Dataplan Monitor widget (excellent, by the way) but for wifi traffic.
Code:
/sbin/ifconfig wlan0 | grep bytes | sed 's/^.*(\([^)]*\)).*(\([^)]*\))/Dn: \1 \| Up: \2/g'
Note that the script should be all on one line, despite this site wrapping the text. Hope someone finds it helpful.
Quote & Reply
|
The Following 5 Users Say Thank You to airjordan17 For This Useful Post:
Alan_Peery
,
Bratag
,
F2thaK
,
NokiaRocks
,
qwerty12
airjordan17
View Public Profile
Send a private message to airjordan17
Find all posts by airjordan17