Changes

782 bytes added ,  12:36, 30 July 2018
Line 61: Line 61:  
===Get number of bytes sent===
 
===Get number of bytes sent===
 
----
 
----
 +
To obtain the number of bytes sent (TX bytes) by a network interface, use '''''-e''''' or '''''--bsent''''' options.
    +
'''Usage syntax''':
 +
 +
gsmctl <span style="color:blue;">-i</span>, <span style="color:blue;">--bsent</span> <span style="color:purple;"><INTERFACE></span>
 +
 +
Where ''<INTERFACE>'' is the name of a network interface.
 +
 +
'''Example''': obtaining the number of bytes sent (TX bytes) by the mobile connection interface:
 +
 +
root@Teltonika:~# gsmctl <span style="color:blue;">-e</span> <span style="color:purple;">wwan0</span>
 +
<span style="color:red;">10.139.75.221</span>
 +
 +
Where '''''wwan0''''' is the name of the mobile interface when the connection type is set to QMI (default). You can use the '''''ifconfig''''' command to check the names of existing network interfaces.
    
===Get number of bytes received===
 
===Get number of bytes received===

Navigation menu