what the best and simplest way to find out whether a volume need defrag?

Posted by r9r9r9 on Stack Overflow See other posts from Stack Overflow or by r9r9r9
Published on 2010-03-08T13:26:10Z Indexed on 2010/03/08 19:36 UTC
Read the original article Hit count: 206

Filed under:

I am writing a application that monitor the system's health, user should know when they need to defrag the volumes.

What I am thinking is calling the "defrag.exe /A" then analyze the output result to see whether it contains "You do not need to defragment this volume."

But it's slow and very bad, I fount that the "Analyze" is really quick on the MyDefrag.exe.

Anyone could tell me what's the best and simplest way?

© Stack Overflow or respective owner

Related posts about disk