Operating System - HP-UX
1838058 Members
6303 Online
110124 Solutions
New Discussion

network speed in bytes/sec

 
Martin Zelling_1
Occasional Contributor

network speed in bytes/sec

I have 2 HP9000's running HP-UX 10.20 with only 1 nfs mounted file system (the rest are vxfs mounted). I would like to see the speed (in real time) of the traffic to and from that file system in bytes/second (or kb/sec or Mb/sec). I did a "man -k net" and "man -k lan" and could only find commands that showed cumulative packets sent and recieved. What commands show bytes/sec how do I read the results?
4 REPLIES 4
Jaimin Parikh
Frequent Advisor

Re: network speed in bytes/sec

Hi,

Try 'lanadmin' command.I hope it will help you.
lanadmin gives link speed and interface statistactics.

-Jaimin Parikh
JAIMIN PARIKH : Share your knowledge and help those who need your help!!
Philip Chan_1
Respected Contributor

Re: network speed in bytes/sec

Hi,

I'm thinking of the easy way, just copy one big file with known size across then time the begin and end times. Do some maths then you'll get the effective transfer rate.

My second thought is that while copying the known size big file over, at the same use a network monitoring program (net marix, linkview etc) to check the peak and average transfer rates.

Rgds,
Philip
Brian Hackley
Honored Contributor

Re: network speed in bytes/sec

Martin,
Glance "NFS By System" gives you read and write rates.
You can also estimate potential read and write rates using ttcp or netperf for the packet type UDP/TCP and the request size e.g. 8K 32K in use by the NFS mount. Check with nfsstat -m for the request size for the NFS mount in question.
Regards,
-> Brian Hackley
Ask me about telecommuting!
rick jones
Honored Contributor

Re: network speed in bytes/sec

to the best of my knowledge, none of the tools on 10.20 show bytes per second through an interface directly. the pointer to lanadmin is a good one - you would write a small script to take the inbound/outbound octets (bytes) over an interval and do the requisite math. you might leverage some of the code from "beforeafter" at ftp://ftp.cup.hp.com/dist/networking/misc (perhaps that is tools intead of misc)

i thought i saw something about later versions of measureware starting to track interface octets, but i'm not sure which rev that is, or even if it is out, and if so, if the 10.20 flavor would do so.
there is no rest for the wicked yet the virtuous have no pillows