[Info-vax] LAN statistics...
Jur van der Burg
lddriver at digiater dot nl
Tue Jan 5 11:06:39 EST 2010
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.
On 4-1-2010 17:32, IanMiller wrote:
> 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