Closed GoogleCodeExporter closed 9 years ago
Accepted. Need to set up test environment with Windows 2000 box and .NET .NET
Framework Version 2.0.50727.42
Must look closely at:
PerformanceMonitor.getDisk()
PerfMonG.PerfMonG.TimeTrigger(Object sender, EventArgs args)
Original comment by maci...@gmail.com
on 29 Jun 2007 at 10:00
I found the issue:
1. Go to Control Panel
2. Administrative Tools
3. Performance
4. Click on the + icon to add a new counter
5. Look through the items listed in the "Performance Object" box
You will note that:
1. Windows 2000 does not have an object labeled LogicalDisk
2. Windows XP has it
PerfMonG obtains the total amount of free disk space from the LogicalDisk
object - or
Category. Since it doesn't exist on Windows 2000 it doesn't seem to be possible
to
obtain the Total free disk space.
Suggested courses of action is to disable this feature in Windows 2000.
Easiest fix:
1. catch the exception in the getDisk() method in PerformanceMonitor.
2. set the value of the counter to some flag value (like -1)
3. detect the flag value in the GUI and set the display counter to N/A
This will be fixed in 0.2.6 but I will try to release a patch for the interested
parties today or tomorrow when I get a chance to fix the code and recompile.
Original comment by maci...@gmail.com
on 29 Jun 2007 at 10:40
Here is a patch for Windows 2000. This is an immediate release, untested, use
at your
own risk, yadda, yadda, etc...
*PerfMonG 0.2.6-rc*
How to use this thing:
1. download the PerfMonG.exe file
2. drop it into Program Files\PerfMonG
3. overwriting the file that is already there
4. run PerfMonG and enjoy
Original comment by maci...@gmail.com
on 30 Jun 2007 at 1:55
Attachments:
Fix included in 0.2.6
Original comment by maci...@gmail.com
on 12 Jul 2007 at 3:50
Original comment by maci...@gmail.com
on 12 Jul 2007 at 3:50
Original issue reported on code.google.com by
maci...@gmail.com
on 29 Jun 2007 at 9:57