Re: How to detect disk activity?




"Pavel A." <pavel_a@xxxxxxxxxxxxxxx> wrote in message
news:OyKX9MeBHHA.996@xxxxxxxxxxxxxxxxxxxxxxx
To detect disk activity one does not need any driver.
Just poll the perf. counters from user mode.


How do you know that disk performance is also an indication
of read/write. Are there disk performance counters for
drive letters or just for the entire disk?

I have another question:
Does anyone know how to get the volume file name of C:
(or any other drive letter). Or do I need to do this from user
mode and pass it to the filter driver?
Will this work - \??\c
Sorry for this stupid question, but it seems both msdn and
yahoo/google become totally confused when you look for
\??\

Thanks.



--PA




.



Relevant Pages

  • RE: Repeatedly(Overwhelming) logged perfdisk warning event: 2001
    ... then the server becomes unresponsive. ... Disk performance counters must be enabled for at ... Status code returned is data DWORD 0. ...
    (microsoft.public.win2000.advanced_server)
  • Re: System not responding
    ... The system may stop responding because the Application Log is full. ... > Warning from source PerfDisk which has description: ... Disk performance counters must be enabled for at ...
    (microsoft.public.windows.server.general)
  • Re: System not responding
    ... > Warning from source PerfDisk which has description: ... Disk performance counters must be enabled for at ... > system stops responding. ...
    (microsoft.public.windows.server.general)
  • Repeatedly(Overwhelming) logged perfdisk warning event: 2001
    ... Unable to read the disk performance information from the ... Disk performance counters must be enabled for at ... least one physical disk or logical volume in order for ... enabled by using the Hardware Device Manager property ...
    (microsoft.public.win2000.advanced_server)
  • System not responding
    ... Warning from source PerfDisk which has description: ... Unable to read the disk performance information from the ... Disk performance counters must be enabled for at ...
    (microsoft.public.windows.server.general)