Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> How To Clear Ifconfig Statics Data?
doniface
post Oct 17 2004, 10:52 AM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 1
Joined: 17-October 04
Member No.: 3,974



Hi everybody:

in linux the command: ifconfig can show each network-card's information
, including their transmit datas, just like this:

eth1 Link encap:Ethernet HWaddr 00:0A:5E:05:32:A7
inet addr:172.18.12.1 Bcast:172.18.12.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:37947 errors:0 dropped:0 overruns:266 frame:0
TX packets:7747 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2423721 (2.3 Mb) TX bytes:9330383 (8.8 Mb)
Interrupt:10 Base address:0xa800


what I need to know is: can I CLEAR those information above? that means
I wanna RESET them back to zero, recounter them without rebooting or
down them once, may I using ifconfig's some parament else to make it works? or these information were saved in some file? where are they? can
I modify them?
Go to the top of the page
 
+Quote Post
hughesjr
post Oct 17 2004, 06:31 PM
Post #2


Its GNU/Linuxhelp.net
*******

Group: Admin
Posts: 3,433
Joined: 25-July 03
From: Corpus Chrsiti, TX, USA
Member No.: 1,151



I don't see a way to do that without taking down and bringing up the interface.

You can get the info from:

/proc/net/dev


--------------------
Johnny Hughes
hughesjr@linuxhelp.net
Enterprise Alternatives: CentOS, WhiteBoxEL
Favorite Workstation Distros (in order): CentOS, Gentoo, Debian Sarge, Ubuntu, Mandrake, FedoraCore, Slackware, SUSE
Favorite Server Distros (in order): CentOS, WhiteBoxEL, Debian Sarge, Slackware, Mandrake, FedoraCore, Gentoo, SUSE
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 16th October 2017 - 05:13 PM