Discussion:
Network statistics for a given interface
(too old to reply)
Jeremy Begg
2006-11-08 23:02:16 UTC
Permalink
Hi,

Process Software MultiNet V5.1 Rev A-X, COMPAQ AlphaServer DS20E 666 MHz,
OpenVMS AXP V8.2.

This machine has two ethernet ports on it, configured in MultiNet as
interfaces SE0 and SE1.

We'd like to work out the data rate for traffic on SE1. Is there a way to
find out the actual number of bytes sent or received through a given
interface?

$ MU SHOW/STAT shows packets, which is sufficient for our needs.

Thanks,

Jeremy Begg

+---------------------------------------------------------+
| VSM Software Services Pty. Ltd. |
| http://www.vsm.com.au/ |
| "OpenVMS Systems Management & Programming" |
|---------------------------------------------------------|
| P.O.Box 402, Walkerville, | E-Mail: ***@vsm.com.au |
| South Australia 5081 | Phone: +61 8 8221 5188 |
|---------------------------| Mobile: 0414 422 947 |
| A.C.N. 068 409 156 | FAX: +61 8 8221 7199 |
+---------------------------------------------------------+
Jeremy Begg
2006-11-08 23:18:42 UTC
Permalink
Hi All,

Please ignore my previous query. $ MU SHOW/INTERFACE tells me all I need to
know.

Jeremy Begg
Post by Jeremy Begg
Process Software MultiNet V5.1 Rev A-X, COMPAQ AlphaServer DS20E 666 MHz,
OpenVMS AXP V8.2.
This machine has two ethernet ports on it, configured in MultiNet as
interfaces SE0 and SE1.
We'd like to work out the data rate for traffic on SE1. Is there a way to
find out the actual number of bytes sent or received through a given
interface?
$ MU SHOW/STAT shows packets, which is sufficient for our needs.
Thanks,
Jeremy Begg
Jeremy Begg
2006-11-09 00:26:44 UTC
Permalink
Hi Selden,
I suspect you're unaware of the undocumented command
ANALYZE/SYSTEM SHOW LAN/COUNTERS
It tells in detail how much traffic has gone thorough each
interface and using which protocol.
Interesting! Yes I was unaware of it, and it could be useful.
(Turns out MU SHOW/INTERFACE shows only *average* counts, which is not
useful.)

You've also reminded me of another way to get this information:

$ mcr lancp show device eib0/count

Thanks!

Jeremy Begg
Post by Jeremy Begg
Hi,
Process Software MultiNet V5.1 Rev A-X, COMPAQ AlphaServer DS20E 666 MHz,
OpenVMS AXP V8.2.
This machine has two ethernet ports on it, configured in MultiNet as
interfaces SE0 and SE1.
We'd like to work out the data rate for traffic on SE1. Is there a way to
find out the actual number of bytes sent or received through a given
interface?
$ MU SHOW/STAT shows packets, which is sufficient for our needs.
Thanks,
Jeremy Begg
+---------------------------------------------------------+
| VSM Software Services Pty. Ltd. |
| http://www.vsm.com.au/ |
| "OpenVMS Systems Management & Programming" |
|---------------------------------------------------------|
| South Australia 5081 | Phone: +61 8 8221 5188 |
|---------------------------| Mobile: 0414 422 947 |
| A.C.N. 068 409 156 | FAX: +61 8 8221 7199 |
+---------------------------------------------------------+
Selden E Ball Jr
2006-11-09 00:15:25 UTC
Permalink
Jeremy,

I suspect you're unaware of the undocumented command
ANALYZE/SYSTEM SHOW LAN/COUNTERS

It tells in detail how much traffic has gone thorough each
interface and using which protocol.

Selden
Post by Jeremy Begg
Hi,
Process Software MultiNet V5.1 Rev A-X, COMPAQ AlphaServer DS20E 666 MHz,
OpenVMS AXP V8.2.
This machine has two ethernet ports on it, configured in MultiNet as
interfaces SE0 and SE1.
We'd like to work out the data rate for traffic on SE1. Is there a way to
find out the actual number of bytes sent or received through a given
interface?
$ MU SHOW/STAT shows packets, which is sufficient for our needs.
Thanks,
Jeremy Begg
+---------------------------------------------------------+
| VSM Software Services Pty. Ltd. |
| http://www.vsm.com.au/ |
| "OpenVMS Systems Management & Programming" |
|---------------------------------------------------------|
| South Australia 5081 | Phone: +61 8 8221 5188 |
|---------------------------| Mobile: 0414 422 947 |
| A.C.N. 068 409 156 | FAX: +61 8 8221 7199 |
+---------------------------------------------------------+
Michael Corbett
2006-11-09 13:41:22 UTC
Permalink
Post by Jeremy Begg
Hi,
Process Software MultiNet V5.1 Rev A-X, COMPAQ AlphaServer DS20E 666 MHz,
OpenVMS AXP V8.2.
This machine has two ethernet ports on it, configured in MultiNet as
interfaces SE0 and SE1.
We'd like to work out the data rate for traffic on SE1. Is there a way to
find out the actual number of bytes sent or received through a given
interface?
$ MU SHOW/STAT shows packets, which is sufficient for our needs.
You can use the SDA call outs to get this info -

$ define mu$sda multinet:multinet$sda
$ anal/system
mu show if_se

MultiNet IF_SE specific information:

Global SE variables:

Output bytes: 251607
Output MBUFs: 6840
Bytes copied: 251607 Bytes mapped: 0
MBUFs copied: 3420 MBUFs mapped: 0

[snip]

MultiNet Interface information:

Interface se0 SoftC: 865FE160

Flags: Up,Broadcast,NoTrailers,Run,Simplex,Multicast

MTU: 1500 Timer: 1 Metric: 0
QLen: 0 MaxLen: 500 Drops: 0

IPackets: 364590 IErrors: 0
OPackets: 6873 OErrors: 1
Obytes: 300990 Ibytes: 15523424
Collisions: 0

[snip]

MultiNet Interface information:

Interface se1 SoftC: 865FE3EC

Flags: Up,Broadcast,NoTrailers,Run,Active,Simplex,Multicast

MTU: 1500 Timer: 1 Metric: 0
QLen: 4 MaxLen: 500 Drops: 0

IPackets: 0 IErrors: 0
OPackets: 4 OErrors: 0
Obytes: 168 Ibytes: 0
Collisions: 0
--
+-------------------------------------------------------------------------+
Michael Corbett Email: ***@process.com
Process Software Phone: 800 722-7770 x369
959 Concord St. 508 879-6994 x369
Framingham MA 01701-4682 FAX: 508 879-0042
Javier Henderson
2006-11-09 13:48:14 UTC
Permalink
Post by Michael Corbett
Post by Jeremy Begg
Hi,
Process Software MultiNet V5.1 Rev A-X, COMPAQ AlphaServer DS20E
666 MHz,
OpenVMS AXP V8.2.
This machine has two ethernet ports on it, configured in MultiNet as
interfaces SE0 and SE1.
We'd like to work out the data rate for traffic on SE1. Is there
a way to
find out the actual number of bytes sent or received through a given
interface?
$ MU SHOW/STAT shows packets, which is sufficient for our needs.
You can use the SDA call outs to get this info -
$ define mu$sda multinet:multinet$sda
$ anal/system
mu show if_se
Output bytes: 251607
Output MBUFs: 6840
Bytes copied: 251607 Bytes mapped: 0
MBUFs copied: 3420 MBUFs mapped: 0
[snip]
Interface se0 SoftC: 865FE160
Flags: Up,Broadcast,NoTrailers,Run,Simplex,Multicast
MTU: 1500 Timer: 1 Metric: 0
QLen: 0 MaxLen: 500 Drops: 0
IPackets: 364590 IErrors: 0
OPackets: 6873 OErrors: 1
Obytes: 300990 Ibytes: 15523424
Collisions: 0
[snip]
Interface se1 SoftC: 865FE3EC
Flags: Up,Broadcast,NoTrailers,Run,Active,Simplex,Multicast
MTU: 1500 Timer: 1 Metric: 0
QLen: 4 MaxLen: 500 Drops: 0
IPackets: 0 IErrors: 0
OPackets: 4 OErrors: 0
Obytes: 168 Ibytes: 0
Collisions: 0
Another option is to look at the traffic on the switch port to which
this machine is connected. There are several choices in tools to do
this, in particular I've used mrtg in the past, and I recall
submitting some code changes after making it work on VMS. This was
back in 1995 or thereabouts, I don't have copies of what I used
anymore, and I don't know if current versions of mrtg incorporate the
changes or maintain VMS compatibility. Not much in the way of how-to
help I guess, just offering something that might be worth checking
into...

-jav
Jeremy Begg
2006-11-11 00:47:04 UTC
Permalink
Hi Mike,
Post by Michael Corbett
Post by Jeremy Begg
Hi,
Process Software MultiNet V5.1 Rev A-X, COMPAQ AlphaServer DS20E 666 MHz,
OpenVMS AXP V8.2.
This machine has two ethernet ports on it, configured in MultiNet as
interfaces SE0 and SE1.
We'd like to work out the data rate for traffic on SE1. Is there a way to
find out the actual number of bytes sent or received through a given
interface?
$ MU SHOW/STAT shows packets, which is sufficient for our needs.
You can use the SDA call outs to get this info -
$ define mu$sda multinet:multinet$sda
$ anal/system
mu show if_se
Thanks, I'll have a play with that.

Regards,

Jeremy Begg

Loading...