tool to monitor throughput

Was wonder if there was a tool or program I could run to measure throughput on our CentoS 4.x server. Our current dedicated host provider is charging us by how much throughput we are using and I just want to see if their numbers add up to whatever I get using a throughput tool of some kind.

Thanks!

How does your vendor define "thoughput" File I/O? tcp/ip packet count?

That's actually a good question. I have to find out. Does that make a difference or? can you monitor both or each separately?

You can monitor most kinds of activity on a system. How you do that is system specific.
Before you ask more - what OS and architecture?

thanks for the reply
the server is running Centos 4.x
now the specific hardware im not sure exactly what that is ...
i would have to dig that up

Install net-snmp and cacti or mrtg.

tcpspray will print average throughput for a tcp connection
Index of /pub/linux/Networking/attic/Other/tcpspray