Click to See Complete Forum and Search --> : monitor hard disc activity


max_chock
February 9th, 2007, 09:35 PM
Hi all,

I want to write a program in C/C++ which monitor any hard disk
activity by a particular program which have assigned for WINXP. For
example, the program are going to run as background process or like this.. "fileact word.exe",
so it will monitor any harddisk activity produce by word.exe.

What kind of header/library should i include or should i look into??
any info will be great help, at least help by pointing me any website
or example are doing similar jobs.

Thanks & regards,
Max.

TheCPUWizard
February 10th, 2007, 09:31 AM
Look and the WMI interfaces. Also look at PerfMon.

e_har
February 13th, 2007, 10:42 PM
Whoa dude...this will not be easy...if you are trying to build something similar like DiskMon...
hxxp://www.microsoft.com/technet/sysinternals/utilities/diskmon.mspx

I have no idea how it's done but i expect it to be similar to...
Obtaining Directory Change Notifications
hxxp://msdn2.microsoft.com/en-us/library/aa365261.aspx

This will monitor certain directories...

Please post links if you had found out how to do so.