Do you have an application such as AutoCAD that is displaying any of the following symptoms?
- Starting up slower than normal?
- Running slower than normal?
- Long delays when you try to run a particular function, like save, open, or plot?
Windows and windows applications like to search for things for what seems like en eternity. How can you find out what is going on behind the scenes?
I've been using FileMon for years to view file activity in real-time. Many times you can spot a missing file or path that your application is looking for.
FileMon was originally developed and released by Winternals Software, available on their website, www.sysinternals.com. However, in July 2006, Microsoft acquired Winternals Software and now FileMon and other similar tools are available at http://www.microsoft.com/technet/sysinternals/default.mspx
FileMon (and most of the other "sysinternals" tools) are simple yet powerful, require no installation, very small in size, and best of all, free.
After you download the program (a tiny 280k download), unzip the contents. You can unzip the contents to a flash drive if you want it to be portable or you can simply unzip it into a local directory like C:\Program Files\FileMon . You will end up with 3 files. An executable, a help file, and the EULA.
Run the executable (filemon.exe) to get started. The first thing you will see is the "FileMon Filter" dialog. Here you can include, exclude, and highlight certain strings. For now, don't change anything, just press OK.
Now, depending on what applications you have running, you will see a variety of file activity going on. Even if it seems like your computer is idle, there may still be quite a lot of file activity happening. Things like virus checkers, media players, email applications, etc. may be working away even though they seem idle. Now that you have seen what this tool does, how can you use it to find out what is slowing you down?
Let's say your AutoCAD takes a long time to start up, and let's assume that the problem lies completely within AutoCAD to start with. So let's filter out all other file activity. Press Ctrl+L to open the filter dialog again. In the INCLUDE field, enter *acad*. This will instruct FileMon to ignore everything unless it contains "acad". If you have dual monitors, place FileMon on the opposite monitor from where AutoCAD opens. If you have a single monitor, position and size FileMon so that you can see the AutoCAD command line and then click the Options menu in FileMon and select "Always on Top". This will keep FileMon visible even when AutoCAD takes focus.
Now start up AutoCAD. You will see a line after line start scrolling by, probably faster than you can read it. Pay attention though, and when AutoCAD seems to freeze up, take a look at the FileMon screen and look at the last few lines, particularly the Path and Result columns. Is AutoCAD looking for a drive letter or network path that does not exist? Maybe it's looking for an add-on file that doesn't exist any more. If you don't see anything obvious, you may have to go back to the FileMon filter and remove the *acad* filter. Press the Defaults button to allow it to monitor ALL file activity. Maybe another application is slowing down AutoCAD by running some sort of process during AutoCAD startup.
FileMon has helped diagnose a problem where a particular DWG file just would not load in AutoCAD. It looked like AutoCAD was just locked up after loading about 20% of this drawing. FileMon revealed that the virus checker was busy scanning four, 18MB .SID files that were referenced in the DWG file. In another case, AutoCAD was taking almost a minute to open the MTEXT editor, but only the first time it was initiated. After using FileMon, it was determined that AutoCAD was finding over 300 fonts in the various search paths, and AutoCAD was reading each font once, the first time the MTEXT editor was launched.
Hopefully, you can use this tool to help diagnose a problem that you are having.
PermaLink Posted 7/10/2007 05:25:00 AM