Lan and Wan usage
I am looking for the code or guidance to solve this problem. The problem scenario is as follows.
Consider a college lab. The lab has LAN connection. All systems are connected to the lan. Also some systems are connected to internet. There is a small chat program that allows me to chat within a lan. When people want to chat on the internet, they use Gtalk. Now my problem is i want to statistically collect data on the lan and wan usage of each system. This data is saved by the our program which runs in the background.