Always check the code if you have questions about what something means -
it's the only sure resource ... emitter.c:
if(checkFilter(filter, "bytesSent"))
wrtLlongItm(fDescr, lang, "\t", "bytesSent", el->ipBytesSent, ',',
numEntries);
if(checkFilter(filter, "bytesRcvd"))
wrtLlongItm(fDescr, lang, "\t", "bytesRcvd", el->ipBytesRcvd, ',',
numEntries);
<snip />
if(checkFilter(filter, "bytesSent"))
wrtLlongItm(fDescr, lang, "\t", "bytesSent", el->bytesSent,
',', numEntries);
They're actually difference counters.
This should probably be changed so it outputs different variable names!
-----Burton
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Bar
Kochba
Sent: Tuesday, December 09, 2003 5:10 PM
To: [EMAIL PROTECTED]
Subject: Re: [Ntop] bytes sent and received in dump
Hi,
Under the Admin tab, and choosing the "Dump Data" menu, and report type
"Hosts" and format "perl",
'bytesSent' => '1368',
'bytesRcvd' => '155618',
'pktDuplicatedAckSent' => '0',
'pktDuplicatedAckRcvd' => '0',
'pktBroadcastSent' => '0',
'bytesMulticastSent' => '0',
'pktMulticastSent' => '0',
'bytesMulticastRcvd' => '0',
'pktMulticastRcvd' => '0',
'bytesSent' => '0',
'bytesSentLoc' => '1368',
'bytesSentRem' => '0',
'bytesRcvd' => '182372',
As you can see, there are 2 bytes sent and bytes recevied reading.
According to your latest reply, you said the later version of nTop doesnt
have this issue.
However, just out of curiousity, what were the difference the 2 bytesSent
and bytesReceived?
Sorry for not trimming my previous post.
Regards
|
Hi,
can you please explain? I can't understand your question.
Regards, Luca
- --
Luca Deri http://luca.ntop.org/
Hacker: someone who loves to program and enjoys being
clever about it - Richard Stallman
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQE/1X0AmMhDxnkh3zQRAonSAJ9/t5MiVhqSvNYWhJ5Ayo9v1619SgCbB3mE
XY6a5Pam/Ru4fOh8Qb57Rnc=
=hKKc
-----END PGP SIGNATURE-----
_______________________________________________
Ntop mailing list
[EMAIL PROTECTED]
http://listgateway.unipi.it/mailman/listinfo/ntop
_______________________________________________
Ntop mailing list
[EMAIL PROTECTED]
http://listgateway.unipi.it/mailman/listinfo/ntop