From owner-freebsd-questions Fri Aug 30 3:28:46 2002 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 026DF37B400 for ; Fri, 30 Aug 2002 03:28:41 -0700 (PDT) Received: from mail1.ing.nl (mail1.ing.nl [145.221.93.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0DCB843E3B for ; Fri, 30 Aug 2002 03:28:40 -0700 (PDT) (envelope-from Danny.Carroll@mail.ing.nl) content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C2500F.D478A44B" Subject: RE: script to calculate data transfer Content-Transfer-Encoding: 7bit X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 Date: Fri, 30 Aug 2002 12:27:23 +0200 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: script to calculate data transfer Importance: normal Thread-Index: AcJQDoC2pucpYZqYRjKKrkevHbijswAAT1MQ From: To: , X-OriginalArrivalTime: 30 Aug 2002 10:27:24.0540 (UTC) FILETIME=[D4D733C0:01C2500F] 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 This is a multi-part message in MIME format. ------_=_NextPart_001_01C2500F.D478A44B Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I've seen a perl script to do this from MRTG logs. I think that's the best way. =20 I'll dig it up and post. -----Original Message----- From: Unix Tools [mailto:unixtools@hotmail.com] Sent: 30 August 2002 00:31 To: freebsd-questions@FreeBSD.ORG Subject: script to calculate data transfer Hi, could someone give me details of=20 script to calculate data transfer directly from the network card = preferably c code =20 Thanks in advance -----------------------------------------------------------------=0A= ATTENTION:=0A= The information in this electronic mail message is private and=0A= confidential, and only intended for the addressee. Should you=0A= receive this message by mistake, you are hereby notified that=0A= any disclosure, reproduction, distribution or use of this=0A= message is strictly prohibited. Please inform the sender by=0A= reply transmission and delete the message without copying or=0A= opening it.=0A= =0A= Messages and attachments are scanned for all viruses known.=0A= If this message contains password-protected attachments, the=0A= files have NOT been scanned for viruses by the ING mail domain.=0A= Always scan attachments before opening them.=0A= ----------------------------------------------------------------- ------_=_NextPart_001_01C2500F.D478A44B Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I've=20 seen a perl script to do this from MRTG logs.
I=20 think that's the best way.
 
I'll=20 dig it up and post.
-----Original Message-----
From: Unix Tools=20 [mailto:unixtools@hotmail.com]
Sent: 30 August 2002=20 00:31
To: freebsd-questions@FreeBSD.ORG
Subject: = script to=20 calculate data transfer

Hi,
could someone give me details of =
script to calculate data transfer directly from the network card=20 preferably c code
 
Thanks in=20 advance
----------------------------------------= -------------------------
ATTENTION:
The information in this = electronic mail message is private and
confidential, and only = intended for the addressee. Should you
receive this message by = mistake, you are hereby notified that
any disclosure, reproduction, = distribution or use of this
message is strictly prohibited. Please = inform the sender by
reply transmission and delete the message = without copying or
opening it.

Messages and attachments are = scanned for all viruses known.
If this message contains = password-protected attachments, the
files have NOT been scanned for = viruses by the ING mail domain.
Always scan attachments before = opening = them.
----------------------------------------------------------------= - ------_=_NextPart_001_01C2500F.D478A44B-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message