FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

14161 questions

16817 answers

27648 comments

54077 members

0 votes
167 views 0 comments
by
hello, we are trying to estimate correct values of bytes transmitted via the built-in modem and also a satellite modem attached to the WAN port.

I haven't seen a clear explanation of the differences in output of the values shown in the WebUI and the output of commands like gsmctl -e and ethtool .  Is there an explanation available?

We especially need to understand how much data is being sent via the sat modem attached to the WAN port.   Is ethtool the correct command for that?  We need to be able to read these values using json-rpc to report them to our application software.

1 Answer

0 votes
by

Hi,

 

Here are a few links that can provide some additional information regarding JSON-RPC and the gsmctl commands to return the packets sent and received.

https://wiki.teltonika-networks.com/view/RUT955_Monitoring_via_JSON-RPC_windows

https://wiki.teltonika-networks.com/view/RUTOS_gsmctl_Commands?gclid=CjwKCAjwsMGYBhAEEiwAGUXJaeZTM_QYNN8Kbvyr9f8z6XgZ0dNxAdbxHVAairh0kliSOHzh_ibqOhoC6NQQAvD_BwE

 

The command gsmctl -e will show the number of bytes sent(tx) and gsmctl  -r will show the number of bytes received (rx).  When you go to WEBUI-Network-Interfaces and look at the bytes sent and received they are close to the same amounts.  The difference is most likely due to the time it takes for the WEBUI to update periodically whereas when you run the other commands you are seeing up-to-date data.

Regards,

Jeremy