[Info-vax] LAN statistics...
Jur van der Burg
lddriver at digiater dot nl
Sat Jan 9 10:31:46 EST 2010
> 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.
Vala wrote, On 9-1-2010 15:16:
> On 5 ene, 14:06, Jur van der Burg<"lddriver at digiater dot nl">
> wrote:
>> 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
>>
>>> 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.
More information about the Info-vax
mailing list