Operating System - HP-UX
1842162 Members
2700 Online
110187 Solutions
New Discussion

Re: How to calculate the amount of transmission data per second

 
SOLVED
Go to solution
Joseph Lee_5
Occasional Contributor

How to calculate the amount of transmission data per second

Could you tell me some ABC?

MTU size = 1500

netstat -I lan1 1
(lan1)->input output
packets packets
1889785720 1150376362
1889788666 1150378958

amount of transmission data per second in lan1 =
((1889788666-1889785720)+(1150378958-1150376362))*1500 = 8313000 byte

Could you tell me my arithmetic is right or wrong?

TIA
Joseph
4 REPLIES 4
Bharat Katkar
Honored Contributor
Solution

Re: How to calculate the amount of transmission data per second

That output indicates Traffice on that particular interface and not the Speed.
Both things are different.

What we use to do is calculate the performance or speed of our network by ftp of any big files and it give you back the speed with which it was transffered.

Do it on Peak period, normal load and no load situations.



Hope this helps,

Regards
You need to know a lot to actually know how little you know
Ralph Grothe
Honored Contributor

Re: How to calculate the amount of transmission data per second

I think to get a clear picture you also need to record the sizes of the counted packets.
In your calculation you multiply the in and outbound packets' differences per interval with the maximum transfer unit of the NIC,
assuming all counted packets being this size.
I don't believe this is necessarily the case.
I'm sure the gurus will provide you a correct eplanation.
Maybe you could query the MIB stats through SNMP GET calls or do some packet sniffing to get a more detailed picture?
Madness, thy name is system administration
Joseph Lee_5
Occasional Contributor

Re: How to calculate the amount of transmission data per second

I want to take a report to my boss about network interface flux, but I have not any tools. How should I calculate it?

Thank you very much.
Ralph Grothe
Honored Contributor

Re: How to calculate the amount of transmission data per second

Joseph,

you may find a nice tool for benchmarking your NICs here:

http://www.netperf.org/netperf/NetperfPage.html
Madness, thy name is system administration