From owner-freebsd-hackers@FreeBSD.ORG Fri Jun 6 02:19:09 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D135737B401 for ; Fri, 6 Jun 2003 02:19:09 -0700 (PDT) Received: from mail.icomag.de (ns.icomag.de [195.227.115.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id B752143FAF for ; Fri, 6 Jun 2003 02:19:04 -0700 (PDT) (envelope-from bgd@icomag.de) Received: by mail.icomag.de (Postfix, from userid 1019) id C98F623048; Fri, 6 Jun 2003 11:19:02 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail.icomag.de (Postfix) with ESMTP id C87FF23046 for ; Fri, 6 Jun 2003 11:19:02 +0200 (CEST) Date: Fri, 6 Jun 2003 11:19:02 +0200 (CEST) From: Bogdan TARU X-X-Sender: To: Message-ID: <20030606111519.D82842-100000@fw.office.icom> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: netstat -s output X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Jun 2003 09:19:10 -0000 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