Networking Forums

Networking Forums > Computer Networking > Linux Networking > Enhanced ifconfig, anyone?

Reply
Thread Tools Display Modes

Enhanced ifconfig, anyone?

 
 
Thomas Carter
Guest
Posts: n/a

 
      08-30-2005, 04:37 PM
I would be interested to have a version of ifconfig such that the number
of bytes received and transmitted at a given interface, since the moment
that interface was brought up, are accumulated as 64-bit quantities - I
would want for those counters not to wrap around after 4 gigabytes only.

I had a quick look into the ifconfig code, and the counters above are
defined as unsigned long long - which is a 64-bit quantity in my Linux
box. The thing is, I have so far been unable to find where those counters
are updated. I thought that it would have been ifconfig itself's job to do
so, but I wonder if it just gets that info from the kernel - in which
case, doing what I want would very likely be much more tricky.

Any ideas?



 
Reply With Quote
 
 
 
 
Thomas Carter
Guest
Posts: n/a

 
      08-30-2005, 06:40 PM
I have just learnt that ifconfig gets the info on bytes received and
transmitted at a network interface from /proc/dev/net. So I guess I am
stuck with 32-bit counters on an x86 box :-(


 
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Technique for enhanced Internet privacy whilst using P2P networks MB Wireless Internet 7 10-21-2008 04:30 AM
Allergic Reactions Enhanced by Cell Phone Use Lenny Broadband 7 05-21-2007 02:04 PM
Plusnet Enhanced Spam Service! Troll Slayer - Troll-Alert.net Broadband 13 10-17-2004 09:16 PM
NEW = Enhanced 2.4GHz Cardbus Adapter mobile phones direct Wireless Internet 0 12-26-2003 05:45 PM
NEW = Enhanced 2.4GHz Wireless Access Point mobile phones direct Wireless Internet 0 12-26-2003 05:44 PM



1 2 3 4 5 6 7 8 9 10 11