[Info-vax] LAN statistics...
IanMiller
gxys at uk2.net
Mon Jan 4 11:32:17 EST 2010
On Dec 29 2009, 5:13 pm, Vala <fernando.vallar... at oca.com.uy> wrote:
> 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.
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.
More information about the Info-vax
mailing list