[Q] Resetting Protocol Statistics

From: Gano, Dag <dgano_at_ss.ca.gov>
Date: Wed, 07 Oct 1998 10:24:45 -0700

How do you zero the statistics obtained from netstat for the various
protocols?

netstat -I tu0 -s gives you statistics for the interface.
netstat -I tu0 -z resets the statistics to zero.

netstat -p <protocol> -s or netstat -f inet -s give you a number of
statistics regarding the protocols.
netstat -p <protocol> -z does NOT reset the statistics to zero.
netstat -f inet -z returns the message:

    netstat: "-z" must used with "-I interface"

Does anyone know how to reset the protocol statistics?

Thanks!


Dag Gano - Webmaster
California Secretary of State
http://www.ss.ca.gov
http://Vote98.ss.ca.gov
Received on Wed Oct 07 1998 - 17:19:18 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:38 NZDT