tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: "Gano, Dag" <dgano () ss ! ca ! gov>
To: tru64-unix-managers
Subject: [Q] Resetting Protocol Statistics
Date: Wed, 07 Oct 1998 17:24:45 +0000	[thread overview]
Message-ID: <96078724211701.tru64-unix-managers.marc@archive.invalid> (raw)

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

                 reply	other threads:[~1998-10-07 17:24 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox