From owner-freebsd-questions Thu May 30 8: 5:54 2002 Delivered-To: freebsd-questions@freebsd.org Received: from relay1.ntu-kpi.kiev.ua (www.ntu-kpi.kiev.ua [212.111.192.161]) by hub.freebsd.org (Postfix) with ESMTP id 7ABAC37B404 for ; Thu, 30 May 2002 08:05:32 -0700 (PDT) Received: from comsys.ntu-kpi.kiev.ua (eth0.comsys.ntu-kpi.kiev.ua [10.0.1.184]) by relay1.ntu-kpi.kiev.ua (Postfix) with ESMTP id 15FEF19D64; Thu, 30 May 2002 17:40:53 +0300 (EEST) Received: from pm5149 (pm514-9.comsys.ntu-kpi.kiev.ua [10.18.54.109]) by comsys.ntu-kpi.kiev.ua (8.11.6/8.11.6) with SMTP id g4UEhNq67258; Thu, 30 May 2002 17:44:09 +0300 (EEST) Message-ID: <009d01c207e6$c375b960$6d36120a@pm5149> From: "Andrey Simonenko" To: "Stephen Montgomery-Smith" Cc: References: <3CF5921C.34EE1888@math.missouri.edu.lucky.freebsd.questions> Subject: Re: Measuring throughput of network Date: Thu, 30 May 2002 17:31:16 +0300 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG ----- Original Message ----- From: "Stephen Montgomery-Smith" Newsgroups: lucky.freebsd.questions Sent: Thursday, May 30, 2002 5:45 AM Subject: Measuring throughput of network > Is there a way to measure how many bytes go through a network card? So > I type something like > command rl0 > and it replies: > out 134513 bytes > in 45232 bytes > or maybe there is a sysctl variable that does this. There are some network accounting software already in FreeBSD ports collection. Type $ cd /usr/ports $ make search key=accounting $ make search key=trafic If you decide to use netstat for accounting, then you need to write own scripts to save accounting results. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message