From owner-freebsd-questions Tue Jan 28 5:57:53 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6B16637B401 for ; Tue, 28 Jan 2003 05:57:52 -0800 (PST) Received: from hardesty.saintaardvarkthecarpeted.com (h24-76-91-242.vc.shawcable.net [24.76.91.242]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6828F43F79 for ; Tue, 28 Jan 2003 05:57:51 -0800 (PST) (envelope-from aardvark@hardesty.saintaardvarkthecarpeted.com) Received: from hardesty.saintaardvarkthecarpeted.com (localhost.localdomain [127.0.0.1]) by hardesty.saintaardvarkthecarpeted.com (8.12.5/8.12.5) with ESMTP id h0SDqV6Z017070; Tue, 28 Jan 2003 05:52:31 -0800 Received: (from aardvark@localhost) by hardesty.saintaardvarkthecarpeted.com (8.12.5/8.12.5/Submit) id h0SDqSBt017068; Tue, 28 Jan 2003 05:52:28 -0800 Date: Tue, 28 Jan 2003 05:52:28 -0800 From: Saint Aardvark the Carpeted To: =?utf-8?B?0JjQktCm?= Cc: freebsd-questions@freebsd.org Subject: Re: help needed! Message-ID: <20030128135228.GF16487@hardesty.saintaardvarkthecarpeted.com> References: <12224572883.20030128142459@dtc.syzran.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <12224572883.20030128142459@dtc.syzran.ru> User-Agent: Mutt/1.4i 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 > We have > no specialists in UNIX systems, but we have a great need of measuring > IP-traffic via the server. Can we use any standard commands for this > purpose or do we need to get a special program for it? MRTG is probably what you're looking for: it produces graphs, updated every five minutes by default, that show the level of traffic going in and out of your server. It's more for seeing how traffic has been over time (it keeps statistics for a year), rather than seeing what's happening right this very second. (If right-this-moment information is what you're after, ask about trafshow.) It's in ports, so to install it you could either fetch it precompiled: # pkg_add -r mrtg or compile it yourself if you have the ports tree installed: # cd /usr/ports/net/mrtg && make install distclean (To see if you have the ports tree installed, do "ls /usr/ports"; if you see lots of directories, you've got it. The first method is probably easier... ) MRTG uses SNMP to get its traffic numbers, and the graphs it generates are usually displayed via web pages -- so in addition to MRTG itself, you'd usually need a web server like Apache, and an SNMP daemon like Net-SNMP or UCD-SNMP. You can find more info on MRTG and some examples of how to use it at the website: http://people.ee.ethz.ch/~oetiker/webtools/mrtg/ Hope this helps! Hugh -- Saint Aardvark the Carpeted aardvark@saintaardvarkthecarpeted.com Because the plural of Anecdote is Myth. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message