How can I reset the error counter displayed by "netstat -i" [Virus checked HSH Nordbank]

From: sebastian.boeker@hsh-nordbank.com
Date: Thu Nov 27 2003 - 10:44:39 EST


Hi,
I want to monitor the errors on the interfaces of some SUN Solaris servers.
I can display it with the command "netstat -i"

Example:

root@sunsb:/> netstat -i
Name Mtu Net/Dest Address Ipkts Ierrs Opkts Oerrs Collis
Queue
lo0 8232 loopback localhost 3972793 0 3972793 0 0
0
hme1 1500 sunsb sunsb 36762616 0 22972768 357733
3741689 0

But i could not find a way or command to reset this counters to zero.
Therefore I can only say how much errors are since the last reboot.
But for the monitoring I would like to reset the error counters one time a
day.
Then I know if the counter is greater zero: the errors occurred during the
last day.

Does anyone of you can help me?
Thanx in advance.

Best regards
Sebastian Bvker

-----------------------------------------------------------------------------
----------------------

Sebastian Bvker
HSH Nordbank AG, OE 1375,
Dezentrale Systeme
Schlo_garten 14, D- 24103 Kiel
Email: sebastian.boeker@hsh-nordbank.com
Tel: 0431-900-12285
Fax: 0431-900-6-12285

_____________________________________________________________________________
___________

Diese Nachricht kann vertrauliche Informationen enthalten. Sollten Sie
nicht der vorgesehene Empfdnger sein, so bitten wir Sie, den Absender
unverz|glich zu informieren und die E-Mail zu lvschen. Jeder unbefugte
Zugriff oder unbefugte Weiterleitung, die Fertigung einer Kopie, die
Vervffentlichung oder sonstige in diesem Zusammenhang stehende Handlung ist
untersagt. Da wir nicht die Echtheit oder Vollstdndigkeit der in dieser
Nachricht enthaltenen Informationen garantieren kvnnen, schlie_en wir die
rechtliche Verbindlichkeit der vorstehenden Erkldrungen und Du_erungen aus.

This message may contain confidential information. If you are not the
intended recipient please promptly inform the sender and delete this email.
Any other unauthorized access or unauthorized forwarding, copy creation,
publication or any other action in this connection is prohibited. As we
cannot guarantee the genuineness or completeness of the information
contained in this message, the statements set forth above are not legally
binding.
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:27:34 EDT