c - How to get in Linux application statistics about Ethernet? -


is possible retrieve various statistics errors (such rx_crc_error) in c application, similar given in ethtool? i've searched time how this, did not find whether possible done c application.

you should use /proc/, read proc(5); perhaps read (sequentially) file under /proc/sys/net/ (or, commented nominal animal, /proc/net/dev)


Comments

Popular posts from this blog

php - Admin SDK -- get information about the group -

dns - How To Use Custom Nameserver On Free Cloudflare? -

Python Error - TypeError: input expected at most 1 arguments, got 3 -