Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

share|improve this question

1 Answer 1

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.