Network statistics

Post your questions and help other users.

Moderator: Martin

Post Reply
griago
Posts: 2
Joined: 06 Jun 2013 09:54

Network statistics

Post by griago » 06 Jun 2013 09:59

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?

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: Network statistics

Post by Martin » 07 Jun 2013 07:30

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

griago
Posts: 2
Joined: 06 Jun 2013 09:54

Re: Network statistics

Post by griago » 08 Jun 2013 14:19

Thank you :)

Post Reply