From owner-freebsd-isp Wed Jul 28 5:40:54 1999 Delivered-To: freebsd-isp@freebsd.org Received: from filer2.isc.rit.edu (filer2.isc.rit.edu [129.21.3.107]) by hub.freebsd.org (Postfix) with ESMTP id CBF8C15468 for ; Wed, 28 Jul 1999 05:40:47 -0700 (PDT) (envelope-from jcptch@osfmail.isc.rit.edu) Received: from grace ("port 2247"@[129.21.3.102]) by osfmail.isc.rit.edu (PMDF V5.2-32 #34621) with SMTP id <0FFK00F25YXQLC@osfmail.isc.rit.edu> for freebsd-isp@freebsd.org; Wed, 28 Jul 1999 08:34:38 -0400 (EDT) Received: by grace (5.65v4.0/1.1.19.2/21Sep98-0910AM) id AA00790; Wed, 28 Jul 1999 08:35:24 -0400 Date: Wed, 28 Jul 1999 08:35:24 -0400 From: Jon Parise Subject: Re: Net Traffic In-reply-to: <19990728004313.A2647@WEBSI.com>; from shashi@websi.com on Wed, Jul 28, 1999 at 12:43:13AM -0400 To: freebsd-isp@freebsd.org Mail-followup-to: freebsd-isp@freebsd.org Message-id: <19990728083524.E32080@osfmail.isc.rit.edu> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii User-Agent: Mutt/0.96.3i X-Operating-System: OSF1 V4.0 (alpha) References: <19990728004313.A2647@WEBSI.com> Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Wed, Jul 28, 1999 at 12:43:13AM -0400, shashi@websi.com wrote: > I have a box colocated at an ISP. I am trying to find out a reliable way to > find in and out traffic through my ethernet card fxp0 > Does teh traffic info displayed by netstat -ib get reset at system reboot? > I would like to track the traffic info on a daily/weekly/monthly basis. > > Also, how can I find out what kind of bandwidth/speed my box is connected > with? Look into snmp. Basically, all you'd need to do is run an snmp daemon on the machine (snmpd) and query the machine's status at regular intervals with an snmp agent (snmpwalk). You can retrive statistcs on network usage, drive space, system load, or any number of other system vital signs. You can graph the results with a package like mrtg (suggested in a previous response). -- Jon Parise (parise@pobox.com) . Rochester Inst. of Technology http://www.pobox.com/~parise/ : Computer Science House Member To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message