Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How can I monitor if/when and for how long my hard drives go into standby?

I've a Windows Server with a RAID5 (software) for data and another regular disk on which the OS is installed. I want to make sure that the RAID goes into standby when no data is read (i.e. no background task I'm currently unaware of accesses the drives and disrupts their standby).

Ideally, I'd like to see some sort of graph that has the last couple of hours on the x-axis and the disk state (busy, idle, standby) on the y-axis.

Is there a tool that does that or do I need to code it myself? If so, can I access this information via a command line tool or do I need to dig into the depths of the Windows API?

Edit: It would of course be completely awesome if such a tool could log which process interrupted the standby.

share|improve this question

If you're looking to just be able to look at a window and see if the disks are being accessed, the Resource Monitor (accessible through the task manager) will let you look at what processes are reading/writing what files (and from there you can see what partition the files are on). If you want it logged, I believe this should be doable through creating a log in the Reliability and Performance Monitor, though apart from pointing you in that direction I can't give a step by step process.

share|improve this answer

You can use the windows port of hdparm to view/modify the power state of individual drives. ( hdparm -C ) - the Cygwin package works fine for me. Note that it doesn't make any sense to ask if your RAID is in standby (as it's in software), only the component disks.

You may have better luck with a vendor-specific drive tool.

As far as pretty pictures go, the Performance Monitor -> LogicalDisk provider is pretty flexible.

As far as tracing the program that caused a disk access, you could use something like diskmon.

If you could get all of these integrated in one place, I think that would be a pretty cool tool.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.