Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

LAN statistics...

1 view
Skip to first unread message

Vala

unread,
Dec 29, 2009, 12:13:11 PM12/29/09
to
I'm trying to get usage data of the network interfaces installed
separated by protocol.
I can't find one system service that provides this information.
I searched through the system service SYS$QIO using a function
modifier, but could not find.
I'm looking here for some help before trying to access system memory
structures.
If my code starts from "SCS$GQ_CONFIG", looking inside system blocks
(SB), then into device data blocks (DDB) and finally into unit control
blocks (UCB) lists, I can see the information i'm looking for.
Of course I must do this in KERNEL mode, but i'm trying to obtain this
data using other mechanisms avoiding possible system crashes.
Thanks in advance.

Best regards, Fernando Vallarino.

Volker Halle

unread,
Dec 29, 2009, 1:57:36 PM12/29/09
to
Fernando,

SDA shows this kind of data when using SDA> SHOW LAN/COUNTER

I doubt that there is an programming API available to obtain this
data.

T4 collects this data, maybe you can use the output from T4.

Volker.

Bob Gezelter

unread,
Dec 29, 2009, 4:34:50 PM12/29/09
to

Fernando,

Which manuals have you checked?

- Bob Gezelter, http://www.rlgsc.com

Bob Gezelter

unread,
Dec 29, 2009, 5:11:45 PM12/29/09
to
On Dec 29, 12:13 pm, Vala <fernando.vallar...@oca.com.uy> wrote:

Fernando,

Vala

unread,
Dec 30, 2009, 1:28:14 PM12/30/09
to

I've looked at "HP OpenVMS System Services Reference Manual" and "HP
OpenVMS I/O User's Reference Manual".

Fernando.

Vala

unread,
Dec 30, 2009, 1:32:35 PM12/30/09
to

I'm trying to obtain this data more directly. It is not for historic
information or reports.

Fernando.

John Wallace

unread,
Jan 1, 2010, 6:00:51 AM1/1/10
to

Must it be VMS's view of this data or is it permissible to connect
something to the LAN, something which might have a ready-made network
traffic counter/address+protocol classifier?

Without knowing exactly what problem you are trying to solve, it is
difficult to know whether this (or anything else) is a relevant
suggestion or not.

Seasons greetings etc.

Vala

unread,
Jan 4, 2010, 9:56:48 AM1/4/10
to
John, I want to obtain this data for on line monitoring.
I want the OpenVMS data, specifically.
Por eso mencioné los servicios QIO o acceder directamente a las
estructuras de los SB, DDB y/o UCB.
Sorry about the delay in my reply, was due to year-end holidays.

Sincere wishes for a prosperous new year to all, Fernando.

Vala

unread,
Jan 4, 2010, 10:02:59 AM1/4/10
to
John, I want to Obtain this data for on-line monitoring.

I want the OpenVMS data, specifically.
Excuse me, where I wrote "Por eso mencioné los servicios QIO o acceder
directamente a las
estructuras de los SB, DDB y/o UCB.", I should write" That's why I
mentioned the QIO services or access directly the
SB structures, DDB and / or UCB. ".

IanMiller

unread,
Jan 4, 2010, 11:32:17 AM1/4/10
to


Perhaps something could be done with the DIAGNOSE QIO function code
with the Read counters modifier
IO$_DIAGNOSE|IO$M_DIAG_READ_COUNTERS

Some LAN drivers respond to this by extracting counters from the LAN
Station Block (LSB) structure.

Jur van der Burg

unread,
Jan 5, 2010, 11:06:39 AM1/5/10
to
You can use a qio with io$_sensemode!io$m_ctrl!io$m_rd_count!io$m_rd_64count.
That's what T4 does.

Jur.

Vala

unread,
Jan 9, 2010, 9:15:06 AM1/9/10
to
> SomeLANdrivers respond to this by extracting counters from theLAN
> Station Block (LSB) structure.

Ian, I can't find the "IO$M_DIAG_READ_COUNTERS" modifier in any
library.

Fernando.

Vala

unread,
Jan 9, 2010, 9:16:24 AM1/9/10
to
On 5 ene, 14:06, Jur van der Burg <"lddriver at digiater dot nl">
wrote:
> > SomeLANdrivers respond to this by extracting counters from theLAN
> > Station Block (LSB) structure.- Ocultar texto de la cita -
>
> - Mostrar texto de la cita -

Jur,
are theese counters allocated in a special structure?
Thanks, Fernando.

Jur van der Burg

unread,
Jan 9, 2010, 10:31:46 AM1/9/10
to
> are theese counters allocated in a special structure?

Yes. You're entering undocumented territory here so it may change
at any time. Ian's suggestion of IO$_DIAGNOSE with IO$M_DIAG_READ_COUNTERS
is also valid, but that's not documented too (it's documented in the
lan drivers listings).

If you want an example of how to read it contact me offline at


lddriver at digiater dot nl

Jur.

0 new messages