I'm having issues with my TrendMicro anti-virus software where my disk activity hits 100% for 10-15 minute periods randomly throughout the day. TM tech support has made a few suggestions but in order to track their effectiveness I have to monitor my disk activity in such a way that I can keep a log. Task Manager and PerfMon will show the activity but not keep a log. While there are free apps available I am reluctant to run any of them without a recommendation from a trusted source. Any takers? Or perhaps some vb.net code out there that might do the trick?

To further explain, I don't need to track what files are being accessed. I just need to track the percentage of disk activity like I see on the Performance tab of Task Manager (Windows 10) when I select a physical disk.

What about auditing in Windows? http://blogs.splunk.com/2013/07/08/audit-file-access-and-change-in-windows/ is one of many priors about this.

No extra software but these logs get quite long so you may have to tweak and filter the results.

That out of the way, I don't see this issue now that my work machines are on SSD. My guess is the seek time on HDDs really piles up and no one at Microsoft ever thought of implementing Novell's elevator drive access ideas. Or that was patented.

Auditing might do it but it seems to involve making a number of obscure changes to my system and I can't see that ending well. Yeah. SSDs are nice and if my current system had space for two drives (like my old Inspiron) I'd throw one in, but that still wouldn't solve the problem. It would just mask it.

I looked at all of the SysInternals utilities and the closest one was diskmon but that has too much granularity. It logs every read/write to every file. All I need is to produce a log like

DSK DATE/TIME              USAGE
--- --------------------   -----
0   2017-01-18  14:04:05     19%
0   2017-01-18  14:04:15      9%
0   2017-01-18  14:04:25     93%
0   2017-01-18  14:04:35     74%
0   2017-01-18  14:04:45     99%
0   2017-01-18  14:04:55     99%

With that type of log I could easily recreate the graph-type output from TaskMgr.

Ideally I could specify what physical disk(s) to monitor and a sampling interval. I might produce something with the diskmon log but the problem is that diskmon produces so much data that it would affect the results.

OK then what about https://github.com/yasinkuyu/NetDash and it's disk usage seems to match your example log?
The source is there to tinker.

Remember this issue is rather well done. I've solved it on many systems with the usual ideas so I'll pause here since the question is how to get reports and not about the usual fixes.

Unfortunately I cannot build NetDash as it uses a newer version of Visual Studio. I am running VS 2010 and cannot upgrade because newer versions cannot be used to debug vbScript.

Actually, I think I'll download VS 2017 and install it in a virtual machine.

Looks like the VM idea is out. The newest VM I have is Windows 7 Pro and VS2012 and up require at least Windows 8.

Seems a long roundabout method but Microsoft has a VM ready dev kit at
https://developer.microsoft.com/en-us/windows/downloads/virtual-machines

PS!!!
" Windows 10 Enterprise (Evaluation - Build 201612) 20 GB download

This VM will expire on 04/08/2017.
(Supported platforms)
VMWare
Hyper-V
VirtualBox
Parallels "

Looks like an old tool will be close to what I want. perfmon.exe has been a part of Windows since XP, perhaps even back to NT. The current version is missing a few of the counters that would have been better but I can still set it to collect disk reads/writes on a user defined interval and save the data to disk so I can view the graph later. Note that this is not the same as the Performance Monitor you get at from Task Manager.

Thanks for the suggestions.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.