Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
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.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
cancel
Showing results for 
Search instead for 
Did you mean: 

network bandwidth

nish_1
Frequent Advisor

network bandwidth

Hi,

Is there any command to find the total bandwidth of a HP-UX server?My server is connected to 1 GBPS switch.But we are not getting the expected bandwidth.How can i check if it is connected to 1GBPS using any command?
2 REPLIES
Torsten.
Acclaimed Contributor

Re: network bandwidth

You can use lanadmin or nwmgr, it depends on your OS version.


# nwmgr -g -v -c lan0
lan0:
Interface State =UP
MAC Address =
Subsystem = igelan
Interface Type = 1000Base-T
Hardware Path = 0/1/2/0
NMID = 1
Feature Capabilities = Physical Interface
IPV4 Recv CKO
IPV4 Send CKO
VLAN Tag Offload
64Bit MIB Support
IPV4 TCP Segmentation Offload
UDP Multifrag CKO
Feature Settings = Physical Interface
VLAN Tag Offload
64Bit MIB Support
MTU = 1500
Speed = 1 Gbps Full Duplex (Autonegotiation : On)

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Bill Hassell
Honored Contributor

Re: network bandwidth

Since you did not provide a version of HP-UX, the answer is nwmgr or lanadmin. Here is the lanadmin command:

lanadmin -x 0

(0 means lan0) Make sure that Speed=1000 Full-duplex and auto-negotiation is on. If this is not the current setting, there are several steps needed to fix the issue.

HOWEVER, this does not show bandwidth, that is, the performance of the card on the current network. In general terms, you can take the wire speed (ie, 1 Gbit/sec) and divide it by 10 to obtain bytes/sec (including a fudge factor for overhead bytes per packet), and then take 80% of that value for maximum performance. So your 1 Gbit/sec link can perform at about 80 Mbytes/sec.

Note that testing a link using software-intensive protocols like NFS or rcp is unreliable as a bandwidth metric. ftp is good as it maximizes throughput in a number of different ways, but the best bandwidth checker is netperf:

http://www.netperf.org/netperf/



Bill Hassell, sysadmin