1753962 Members
7546 Online
108811 Solutions
New Discussion юеВ

Lan performance

 

Lan performance

I'd like to know how much a lan interface is used? that's mean how much MB by second ?
4 REPLIES 4
Peter Godron
Honored Contributor

Re: Lan performance

Hi,
please have a look at these ealier threads:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=144903
and for the card speed settings:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=78642

Please read:
http://66.34.90.71/ITRCForumsEtiquette/after.html

Please also read:
http://forums1.itrc.hp.com/service/forums/helptips.do?#33 on how to reward any useful answers given to your questions.

So far you have awarded points to only 8 of 38 answers ! !
Jollyjet
Valued Contributor

Re: Lan performance

Try netstat or nfstat

There are other tools like NetMetrix or a LAN analyzer to watch lan performance.

Ralph Grothe
Honored Contributor

Re: Lan performance

If you have it you could run glance and select the network screen (i.e. "l" key).

If you lack glance you could read the NICs octet counters, say every 5 minutes and run something like this (this queries lan0 MIB stats):

$ /usr/sbin/lanadmin -g mibstats 0|awk -F' = ' '$1~/(Inbound|Outbound) Octets/{print$2}'

At each run subtract the counts from your last query from the current counts.
Multiply result by 8, and divide by your query interval in secs (viz. 300).
Further devision by 10^6 should give a rough approximation to throughput in Mbit/s.
If you don't want to distinguish in- and outgress just add octet counters for in and out.
Madness, thy name is system administration
Wei Jung
Trusted Contributor

Re: Lan performance

You should use a software like MRTG, http://oss.oetiker.ch/mrtg/
That one is nice :).