What's new

reading traffic monitoring per ip data

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

thanks.
in this case, I will use the proc file (/proc/net/ipt_account/lan)
but there are 2 recv_bytes value and 2 trans_bytes value.
does anyone know which one is what ?

example below:
ip = 192.168.254.40 bytes_src = 3221956 1520560 1701396 0 0 packets_src = 11531 5084 6447 0 0 bytes_dst = 29225962 7017091 22208871 0 0 packets_dst = 28689 8916 19773 0 0 time = 2

for bytes_src (that is transmit) there are 3221956 and 1520560
what are they ?
 
thanks.
in this case, I will use the proc file (/proc/net/ipt_account/lan)
but there are 2 recv_bytes value and 2 trans_bytes value.
does anyone know which one is what ?

example below:
ip = 192.168.254.40 bytes_src = 3221956 1520560 1701396 0 0 packets_src = 11531 5084 6447 0 0 bytes_dst = 29225962 7017091 22208871 0 0 packets_dst = 28689 8916 19773 0 0 time = 2

for bytes_src (that is transmit) there are 3221956 and 1520560
what are they ?
Google is your friend (at least sometimes):)
The first number is the total, the second one is TCP, the third one UDP, the fourth one is ICMP and finally the fifth one is traffic for all other protocols

https://code.google.com/archive/p/ipt-account/wikis/Usage.wiki
 

Similar threads

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top