Joe Giles wrote: > Hmmmm.. Well, if I can isolate the kernel module for ONE card, that > would be great, but I don't think it works that way. Oh well, I guess > I'll have to cause a stir. Especially if they want a smooth running > server :-D > > Thanks for all the replies. I actually learned a few things I never > new. > > Thanks again :) > -- > Joe Giles
Take a look in the /proc filesystem. Specifically in the /proc/net directory. There are several files which contain the status information of your network devices, including the numbers you are looking at through the ifconfig command. /proc/net/dev holds the Transmit and Receive numbers for all interfaces. If you want to go even further, go into the /proc/net/nicinfo directory and take a look at the ethX.info file for your interfaces. Here you will see all the current settings and numbers for your network card(s). Now, I haven't tried this, so there is no guarantee that this will work or that it will work without causing your server to have a problem, but you could always try resetting the numbers in that /proc/net/nicinfo/ethX.info file for the interface you are wanting to reset. This _should_ allow you to set all the RX and TX numbers and error counters back to zero without interrupting the actual interface. So, hopefully no network interruption. Again, I have not done this and don't have the time right now to test it out on one of my servers, but it might just be the thing you are looking for. You will probably have echo the entire file into /proc/net/nicinfo/ethX.info with the numbers set to zero, but that should be pretty easy to do. Just cut and paste the contents of the original file into a temporary file, make your changes, then echo that file into /proc/... Plus, if you keep this temporary file that has the numbers set to zero, then you could echo that to /proc anytime you wanted to reset the counters on that interface. Hope that gives you something to look at that might work for you. If I get some time today, I might just try this for myself. Always love a challenge! :) .~. Brad Sites /V\ Systems Administrator // \\ Missouri Employers Mutual Insurance /( )\ [EMAIL PROTECTED] www.mem-ins.com ^^-^^ (573) 499-4230 -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list