Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Apr 2003 08:45:47 -0700
From:      Nathan Kinkade <nkinkade@dsl-only.net>
To:        Chris Collins <questions@collins.mailshell.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: traffic total in / out
Message-ID:  <20030410154547.GY296@sub21-156.member.dsl-only.net>
In-Reply-To: <00d301c2ff74$c9470840$6501a8c0@chriscollins>
References:  <00d301c2ff74$c9470840$6501a8c0@chriscollins>

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

--eGyD7iWN192kf2IJ
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Apr 10, 2003 at 11:20:57AM -0400, Chris Collins wrote:
> Hello
>=20
> I am hoping that somebody on this list can help me out.
>=20
> I am looking for a way to determine how much traffic is going in/out of my
> machine. I have setup mrtg and it gives a nice graph but no totals of how
> much traffic passed.
>=20
> Does anybody have a working solution for this or tell me where to start.
>=20
> Thanks
> Chris

It sounds like netstat(1) may give you the info you seek.  Take a look
at the manpage, specifically, the `netstat -i` and `netstat -s` forms.

Nathan

--=20
GPG Public Key ID: 0x4250A04C
gpg --keyserver pgp.mit.edu --recv-keys 4250A04C
http://63.105.21.156/gpg_nkinkade_4250A04C.asc

--eGyD7iWN192kf2IJ
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE+lZGrWZYS9EJQoEwRAslVAJ9pYXBuj8H6eHf1fQzunYTrK4tYeACfebl9
bqF1G5htP10q6UEf6cSM/ko=
=D741
-----END PGP SIGNATURE-----

--eGyD7iWN192kf2IJ--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030410154547.GY296>