maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   * The Truly Epic Maemo 5 MODs Thread * (https://talk.maemo.org/showthread.php?t=39565)

anthonie 2012-02-25 11:04

Re: * The Truly Epic Maemo 5 MODs Thread *
 
Moudy, the standard grep should display megabytes, provided the amount of traffic adds up to megabytes. No need to do anything else than standard grep.

l4m3rx 2012-10-31 13:57

Re: * The Truly Epic Maemo 5 MODs Thread *
 
Quote:

Originally Posted by moudy91 (Post 1169502)
a question.
/sbin/ifconfig wlan0 | grep bytes will grep bytes right???
can i grep /sbin/ifconfig wlan0 | grep bytes in MB ????

RX Traffic
/sbin/ifconfig | grep -A5 wlan0 | grep bytes | grep RX | awk '{print $6,$7}'
TX Traffic
/sbin/ifconfig | grep -A5 wlan0 | grep bytes | grep TX | awk '{print $6,$7}'

Add: | tr "(" " " | tr ")" " "
to remove the ( ) , or use 'cut' to do it.
The other thing you can do it get the data from /proc/net/dev
For RX:
RX=`grep wlan0 /proc/net/dev | awk '{print $2}'`;expr $RX / 1024 / 1024
For TX:
TX=`grep wlan0 /proc/net/dev | awk '{print $9}'`;expr $TX / 1024 / 1024

p.s. counters in /proc/net/dev are 32bit values, so they overflow from time, but I doubt you do so much traffic on you phone , so shoud work for u.

seanmcken 2012-11-07 12:39

Re: * The Truly Epic Maemo 5 MODs Thread *
 
ok my question is about UI. can anyone suggest me to edit transitions.ini for making screen orientation like harmattan? i mean while turning landscape to portrait hav anyone noticed the blink screen like it goes black and then portrait. the smoothness. eg u install musikloud and check orientation smothness cuz there is no blink.

seanmcken 2012-11-07 16:01

Re: * The Truly Epic Maemo 5 MODs Thread *
 
nobody here?

vi_ 2012-11-07 16:23

Re: * The Truly Epic Maemo 5 MODs Thread *
 
Quote:

Originally Posted by seanmcken (Post 1291505)
nobody here?

nope.

(lollingtons)


All times are GMT. The time now is 11:16.

vBulletin® Version 3.8.8