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

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

python - Pygame screen.blit not working -

c# - Web API response xml language -