Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 May 2002 17:31:16 +0300
From:      "Andrey Simonenko" <simon@comsys.ntu-kpi.kiev.ua>
To:        "Stephen Montgomery-Smith" <stephen@math.missouri.edu>
Cc:        <freebsd-questions@freebsd.org>
Subject:   Re: Measuring throughput of network
Message-ID:  <009d01c207e6$c375b960$6d36120a@pm5149>
References:  <3CF5921C.34EE1888@math.missouri.edu.lucky.freebsd.questions>

next in thread | previous in thread | raw e-mail | index | archive | help

----- Original Message ----- 
From: "Stephen Montgomery-Smith" <stephen@math.missouri.edu>
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?009d01c207e6$c375b960$6d36120a>