Operating System - HP-UX
1849834 Members
2373 Online
104044 Solutions
New Discussion

hpvmsar - megabytes vs megabits

 
Greg Geyer
Frequent Advisor

hpvmsar - megabytes vs megabits

Man page for -N option says:

 

+ RX Mb/s - Receive rate in megabytes/second for the
named guest/vswitch over interval specified.

 

and output headers have:

 

TX Mb/s   RX Mb/s

 

 

But little 'b' means bit, and big 'B' means byte.  Anyone confirm that the 'Mb/s' is the typo and not the 'megabytes'?

1 REPLY 1
Dave Olker
Neighborhood Moderator

Re: hpvmsar - megabytes vs megabits

I ran a quick test with netperf running inside one of my vPar v6 guests:

 

# netperf -t TCP_STREAM -H 192.1.1.26 -l 10 -f m
MIGRATED TCP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 192.1.1.26 (192.1.1.26) port 0 AF_INET
Recv   Send    Send                         
Socket Socket  Message  Elapsed             
Size   Size    Size     Time     Throughput 
bytes  bytes   bytes    secs.    10^6bits/sec 

131072 131072 131072    10.01    4552.46

 

In this test the vPar is pushing 4552 mega*bits* per second.  Here's what hpvmsar reports:

 

# hpvmsar -N atcuxvm2

HP-UX atcuxbl8 B.11.31 U ia64    01/19/12

15:38:31   GUEST        VSWITCH VSTATE   pNIC  SPEED Mb/s  MTU   TX Mb/s   RX Mb/s   TXDROPS   RXDROPS    TYPE
15:38:31   atcuxvm2     vsw-192      U   lan7        1410 1500      4661         6         0         0      VP
15:38:32   atcuxvm2     vsw-192      U   lan7        1410 1500      4690         6         0         0      VP

 

The TX Mb/s column shows roughly the same numbers, which indicates hpvmsar is reporting numbers in mega*bits* per second.

 

Dave

 



I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo