1823785 Members
4250 Online
109665 Solutions
New Discussion юеВ

Reset Counter

 
Nobody's Hero
Valued Contributor

Reset Counter

I am trying to troubleshoot a possible problem with my network card. Does anyone know how to reset the counters here for
tcpOutDataBytes =1745989107
tcpRetransBytes =2993132854

From this command:

#netstat -sP tcp

TCP tcpRtoAlgorithm = 4 tcpRtoMin = 400
tcpRtoMax = 30000 tcpMaxConn = -1
tcpActiveOpens =73169073 tcpPassiveOpens =38940828
tcpAttemptFails =20364882 tcpEstabResets = 25481
tcpCurrEstab = 48 tcpOutSegs =1225152962
tcpOutDataSegs =1434068934 tcpOutDataBytes =1307366684
tcpRetransSegs =13897173 tcpRetransBytes =101068058
tcpOutAck =412771975 tcpOutAckDelayed =25042022
tcpOutUrg = 0 tcpOutWinUpdate =451559
tcpOutWinProbe = 260 tcpOutControl =282527020
tcpOutRsts =65132102 tcpOutFastRetrans = 283
tcpInSegs =1971620073
tcpInAckSegs =545901506 tcpInAckBytes =1377832905
tcpInDupAck =49890095 tcpInAckUnsent = 0
tcpInInorderSegs =1381458024 tcpInInorderBytes =2878801666
tcpInUnorderSegs =407216 tcpInUnorderBytes =576845315
tcpInDupSegs =17771014 tcpInDupBytes =220764757
tcpInPartDupSegs = 1668 tcpInPartDupBytes =375224
tcpInPastWinSegs = 672 tcpInPastWinBytes =2911835510
tcpInWinProbe = 16219 tcpInWinUpdate = 256
tcpInClosed =28378285 tcpRttNoUpdate =94614729
tcpRttUpdate =368642508 tcpTimRetrans =494328
tcpTimRetransDrop = 47011 tcpTimKeepalive = 5946
tcpTimKeepaliveProbe= 747 tcpTimKeepaliveDrop = 5
tcpListenDrop =234150 tcpListenDropQ0 = 0
tcpHalfOpenDrop = 0 tcpOutSackRetrans = 15743

Im under suspicion that there is a high re-transmit rate and I want to set it to zero and watch the progress.

Thanks.
UNIX IS GOOD
3 REPLIES 3
Jeeshan
Honored Contributor

Re: Reset Counter

use command lanadmin
a warrior never quits
Nobody's Hero
Valued Contributor

Re: Reset Counter

lanadmin is not an option right now.
I need to use netstat and I need to reset the counter, but thanks. I know about the lanadmin command.
UNIX IS GOOD
Mark Ellzey
Valued Contributor

Re: Reset Counter

Hi,

You can't reset the statistics with netstat. Netstat is reporting tool, not an administration tool.

Regards,
Mark