Ever wonder what your disks are doing when your computer sounds like it just joined a drum circle? Meet DiskQueueMonitor — a tiny PowerShell sidekick that times how long your storage elves are waiting in line to do work. If there’s a conga line of I/O, we’ll spot it.
- Measures
Avg. Disk Queue Lengthfor all disks - Samples every 5 seconds for 60 seconds
- Calculates the average per disk
- Writes results to
disk_queue_log.txt - Prints a quick summary in the console
Run from PowerShell in this folder:
./DiskQueueMonitor.ps1
Optional parameters (if you’re feeling fancy):
./DiskQueueMonitor.ps1 -DurationSeconds 60 -IntervalSeconds 5
Output appears in the console and logs to disk_queue_log.txt in the same folder, neatly timestamped so you can collect as many runs as your heart desires (or until your SSD files a complaint).
- Higher averages usually mean more waiting per disk
_Totalis ignored because we believe in individuality- If one disk looks like it’s hoarding all the wait time, you’ve found your diva
This script is small, friendly, and entirely drama-free. It won’t fix your storage bottlenecks, but it will point at them loudly while holding a tiny flashlight.
May your queues be short and your IOPS be plentiful.