Page 1 of 1
Network statistics
Posted: 06 Jun 2013 09:59
by griago
Hi. Wonderfull app!!!!!
Is there a way to get network traffic value?
I'd like to create a flow like "if network traffic during last X seconds is less than Y then close data connection".
Is it possible?
Re: Network statistics
Posted: 07 Jun 2013 07:30
by Martin
Hi,
There is no built-in trigger to react to network traffic.
You could try to use an action Execute Command: cat /proc/net/dev and process the output in a script.
The output of the command is stored in the variable stdout. You can check the contents of the variable by using a condition Debug Dialog in the flow. Manually execute the flow and select the row with the variable stdout in the dialog to open the value in the built-in text editor (works best when changing the typeface to monospace: menu->Preferences->Typeface).
Regards,
Martin
Re: Network statistics
Posted: 08 Jun 2013 14:19
by griago
Thank you
