LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-04-2012, 06:25 PM   #1
rjratnip
LQ Newbie
 
Registered: Nov 2010
Posts: 1

Rep: Reputation: 0
Getting ethtool rx-crc-errors programmatically?


Hi,
I need to get the rx-crc-errors output from ethtool programmatically in C. I've seen examples for getting ethernet speed, etc., using ioctl(), but not for the NIC statistics output from 'ethtool -S eth0'.

> ethtool -S eth0
NIC statistics:
rx-dropped-by-kernel: 0
rx-large-frame-errors: 0
rx-short-frame-errors: 0
rx-non-octet-errors: 0
rx-crc-errors: 0
.....

Any ideas? Thanks.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Sniffing Frames with CRC Errors berzerk Linux - Networking 1 12-24-2005 03:55 AM
Hard drive dma causes crc errors kel_en Linux - Hardware 3 08-25-2005 09:20 AM
dma CRC errors Micropocalypse Linux - Hardware 1 03-09-2004 05:38 AM
gunzip: crc errors Rajasekhar Atte Linux - Newbie 4 05-06-2002 10:18 AM


All times are GMT -5. The time now is 12:47 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration