From owner-freebsd-isp Tue Aug 18 16:39:42 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA28986 for freebsd-isp-outgoing; Tue, 18 Aug 1998 16:39:42 -0700 (PDT) (envelope-from owner-freebsd-isp@FreeBSD.ORG) Received: from s2.ijs.com (s2.ijs.com [205.149.188.6]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA28981 for ; Tue, 18 Aug 1998 16:39:40 -0700 (PDT) (envelope-from jivko@ijs.com) From: jivko@ijs.com Received: from lapatopa1 (laptop.ijs.com [205.149.188.23]) by s2.ijs.com (8.8.5/8.8.5) with SMTP id QAA03900; Tue, 18 Aug 1998 16:38:36 GMT Message-Id: <199808181638.QAA03900@s2.ijs.com> Date: Tue, 18 Aug 1998 16:38:52 -0700 To: Andre Oppermann Subject: Re: Measuring transferred bytes on a interface Cc: "freebsd-isp@FreeBSD.ORG" In-Reply-To: References: <35D95137.26B429E7@pipeline.ch> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >> Now I don't want to loose that customer and I'm looking for a way to >> read out the bytecounter of the ethernet interface of the Sun. The >> problem is that netstat on Solaris 2.5.1 shows only the transmitted >> packets but not the transmitted bytes. >> >> Is there any way to get the bytecounts out of that crappy Solaris >> box? Take a look at trafshow (ftp://ftp.kiae.su/unix/tcpip/netmaint/) It is not the best way to do what you need, but it does a good job. For the things you need to do you might need to modify the code a bit (At least I needed to change it so that it would create a log file and make it run as a daemon). Also you may want to take a look at tcpdump - produces a lot more information than the above, which you would most likely not need. Jivko To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message