Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I was wondering how are the network interface statistics generated? Could someone point me out?

share|improve this question
up vote 1 down vote accepted

The operating system kernel has to handle every network packet that flows in and out of the system and so it is a simple matter for the kernel to maintain counters and provide an API for other programs to display the statistics the kernel maintains.

share|improve this answer
yes and for example if i have now out traffic 80GiB then it is the overall traffic from the system installation or the traffic measured from the last reboot? – rsz Jan 7 '13 at 22:51
@rsz Since last reboot almost certainly for Unix-ish systems. I have no idea about Windows. – Kyle Jones Jan 7 '13 at 23:10
thanks for the information – rsz Jan 8 '13 at 8:12

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .