LinuxQuestions.org
Help answer threads with 0 replies.
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 08-11-2008, 02:36 AM   #1
jeetender
LQ Newbie
 
Registered: Jul 2008
Posts: 5

Rep: Reputation: 0
Unhappy Clearing RX and TX buffers in Linux


[root@ns2 root]# ifconfig


eth0 Link encap:Ethernet HWaddr 000:B7:9D:E2:5E
inet addr:202.162.57.151 Bcast:202.162.57.159 Mask255.255.255.240
UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1
RX packets:3006211 errors:0 dropped:0 overruns:0 frame:0
TX packets:3040435 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:361393841 (344.6 Mb) TX bytes:422687017 (403.1 Mb) Interrupt:9 Base address:0x1800 Memory:fb001000-fb001038

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:2546356 errors:0 dropped:0 overruns:0 frame:0
TX packets:2546356 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:174788074 (166.6 Mb) TX bytes:174788074 (166.6 Mb)

How can RX and TX data be cleared. eth0 Rx is showing 344.6 Mb and TX is showing 403.1 Mb. How to reset these vlaues. Thanks in advance.


Regards
Jeetender
 
Old 08-11-2008, 03:43 AM   #2
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 63
I don't think these are buffers - they are just statistics about how much data has been sent and received by the interface.

For devices which have an associated kernel module as a driver, you might be able to rmmod and modprobe the module to reset these values. There may be a better way too, but I don't know it if there is).
 
Old 08-11-2008, 04:56 AM   #3
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.9, Centos 7.3
Posts: 17,411

Rep: Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397
As said, they are just statistics, but you could try using the up/down options. That might clear them.
 
  


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
LXer: How to prevent Linux man pages from clearing after you quit reading LXer Syndicated Linux News 0 05-10-2008 12:40 AM
Linux cache/buffers never increase DukeLeto Linux - General 1 01-02-2007 12:02 AM
Can anyone describe any command present in Red Hat Linux for clearing cache contents. simi_544 Linux - Software 1 03-16-2005 04:58 AM
clearing the MBR upon uninstall of linux? jacksonscottsly Linux - Hardware 3 08-22-2004 11:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:09 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