Bandwidth Monitoring using c++ program -
i developing small application requires module check whether there bandwidth or not.basically module should trigger event when bandwidth goes down. can achieved using c++ program
look network interface in /sys/class/net/ directory. system has 2 interfaces lo , eth0.
there lot of files describing status of interface explore.
i start operstate, statistics/rx_bytes or statistics/rx_packets.
Comments
Post a Comment