Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Aug 1998 16:38:52 -0700
From:      jivko@ijs.com
To:        Andre Oppermann <oppermann@pipeline.ch>
Cc:        "freebsd-isp@FreeBSD.ORG" <freebsd-isp@FreeBSD.ORG>
Subject:   Re: Measuring transferred bytes on a interface
Message-ID:  <199808181638.QAA03900@s2.ijs.com>
In-Reply-To: <Pine.HPP.3.96.980818165535.11644A-100000@hp9000.chc-chimes .com>
References:  <35D95137.26B429E7@pipeline.ch>

next in thread | previous in thread | raw e-mail | index | archive | help
>> 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



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