in reply to Re: Bad calculations?
in thread Bad calculations?

Yes, I'm sorry about the bad coding. But I'm not sure what you're saying about setting the previous values too early... Before I do any calculation with $eth0in, say, I set $tmp to that value, and set $peth0in to $tmp at the end. So in essance, we still get the original (bytes, not b/s) value.

Well, at least that's how I designed it to work, maybe it's not?

Thanks,Jack C
jack@crepinc.com