Bottom Page

Thread Rating:
  • 4 Vote(s) - 2.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 check conenction takes byte or not
I have one ubuntu and one asus router. I can get the byte amount of the router port via ifHCInOctets via snmp on Ubuntu. When I write the ifHCInOctets to ptyhon I can get the byte amount again
I want to read the byte amount when the asus download master program starts on the router and read the byte count when the download finishes. I am curious about this I can do this with python and how.
So you can already get the byte count?  Then... I'm confused.  Just do it twice?
start_count = get_byte_count()
end_count = get_byte_count()

Top Page

Forum Jump:

Users browsing this thread: 1 Guest(s)