Simpler Navigation for Servers and Operating Systems
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
cancel
Showing results for 
Search instead for 
Did you mean: 

LAN port utilisation

SOLVED
Go to solution
adrianjang
Occasional Visitor

LAN port utilisation

Hello, 

 

Does anyone know how to determine the % utilisation of a LAN port on a HP-UX server?

 

Thanks. 

3 REPLIES
user001
Frequent Advisor

Re: LAN port utilisation

 

try glance if you have it.

 

if you have access to the switch it might help?

 

 

Matti_Kurkela
Honored Contributor
Solution

Re: LAN port utilisation

In very general terms:

Get the values of the traffic counters of the port (using "lanadmin -g <port number>" or SNMP), wait a certain time, then get the traffic counter values again. Subtract the start values from the end values, and divide the result by (port speed * time waited). Then multiply by 100 to get a percentage value of the average utilization over the time period. Repeat.

 

Any program that can draw network traffic graphs using data available over SNMP can probably produce a utilization graph with a calculation like this too. For example, Cacti is a free solution that can do exactly this.

 

If the port is in half-duplex mode, you can add transmit + receive values together to get overall utilization. If the port is in full-duplex mode, the transmit and receive are effectively independent channels, so you might draw useful conclusions from calculating the transmit and receive utilizations separately.

 

An utilization value is only meaningful over a period of time: instantaneous utilization values would be either 0% (= not transferring data right now) or 100% (= transferring data at the speed dictated by the network technology used).

MK
adrianjang
Occasional Visitor

Re: LAN port utilisation

Thanks for the replies.  It confirms that there's no simple method, but your info is good to know.