Networking
cancel
Showing results for 
Search instead for 
Did you mean: 

How to monitor the network bandwidth in HP-UX

manamirhastam
Frequent Advisor

How to monitor the network bandwidth in HP-UX

I want to have an online monitoring of Network bandwidth of a lan card in HP-UX.
Is there any command or package available ?
4 REPLIES
Raj D.
Honored Contributor

Re: How to monitor the network bandwidth in HP-UX

Hi manamirhastam,

Yes,
1. Check with glance.
2. You can use tcpdump from http://www.tcpdump.org/

Cheers,
Raj.
" If u think u can , If u think u cannot , - You are always Right . "
perumal_2
Frequent Advisor

Re: How to monitor the network bandwidth in HP-UX

Hi

If you want to check the bandwidth of the NIC in your system, recommended tool is the MRTG. Which gives the fentastic graphical ouput with trend details of 1 year, monthly, weekly and daily and hourly.
You can refer the URL http://www.mrtg.com/

It is a grphical tool, you need to enable SNMP in your machine. If you want traditional way you may need to use the netstat commnad to get the summary details of the interface.

TQ
Perumal
Yogeeraj_1
Honored Contributor

Re: How to monitor the network bandwidth in HP-UX

hi,

run glance then type "l"

The on-line information displayed takes the format below:
--------------------------------------------------------------------------------
Interval: 5 NETWORK BY INTERFACE Users= 1
Network Packet Packet K-Byte K-Byte
Idx Interface Type Rate In Rate Out Rate In Rate Out
--------------------------------------------------------------------------------
1 lan0 Lan 11.9/ 8.2 0.0/ 0.0 0.7/ 0.6 0.0/ 0.0
2 lan1 Lan 11.9/ 8.2 0.0/ 0.0 0.7/ 0.6 0.0/ 0.0
3 lan2 Lan 90.5/ 113.1 72.5/ 114.1 16.3/ 20.5 11.9/ 21.5
4 lo0 Loop na/ na na/ na na/ na na/ na


If you also wish to view historical data e.g. bandwith usage for the different hours/days/ weeks, you can also run MWA and extract appropriate reports.


hope this helps too!
kind regards
yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
JDickey1
Occasional Visitor

Re: How to monitor the network bandwidth in HP-UX

Hi ,

I see in one of your responses that you addressed glance network metrics. I'm trying to understand what the difference is in terms of the two numbers (separated by "/") that glance displays under K-Byte Rate In and K-Byte Rate Out. Would you be able to help clarify this for me?

Any help would be greatly appreciated.


The on-line information displayed takes the format below:
--------------------------------------------------​------------------------------
Interval: 5 NETWORK BY INTERFACE Users= 1
Network Packet Packet K-Byte K-Byte
Idx Interface Type Rate In Rate Out Rate In Rate Out
--------------------------------------------------​------------------------------
1 lan0 Lan 11.9/ 8.2 0.0/ 0.0 0.7/ 0.6 0.0/ 0.0
2 lan1 Lan 11.9/ 8.2 0.0/ 0.0 0.7/ 0.6 0.0/ 0.0
3 lan2 Lan 90.5/ 113.1 72.5/ 114.1 16.3/ 20.5 11.9/ 21.5
4 lo0 Loop na/ na na/ na na/ na na/ na