Date: Fri, 6 Jun 2003 11:19:02 +0200 (CEST) From: Bogdan TARU <bgd@icomag.de> To: <freebsd-hackers@FreeBSD.ORG> Subject: netstat -s output Message-ID: <20030606111519.D82842-100000@fw.office.icom>
next in thread | raw e-mail | index | archive | help
Hi hackers, I have tried to find out the amount of traffic that one box sent (from the last reboot), and netstat -s seemed like a good choice. But netstat -s seems to generate incorrect results: tcp: 1730547260 packets sent 1325234728 data packets (1119813018 bytes) 28496801 data packets (151887376 bytes) retransmitted This box generated a lot more than ~12Gb of tcp traffic since the last reboot. And I have not messed up with interfaces (up, down, whatever) OR with netstat -z in all this time. Any idea what could be wrong? Are the counters resetted sometimes, or they wrap sometimes, or...? Thank you, bogdan
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030606111519.D82842-100000>