Monitoring Resources on Windows ME
-
Hi, I am working with an application that has to run 24x7. I would like to be able to monitor system resources within the applicatin so that I can signal it to shut down if resource levels become critical. I have had a look at things like WMI etc but am unsure as to how to go about this. Any tips would be much appreciated. Bruce
-
Hi, I am working with an application that has to run 24x7. I would like to be able to monitor system resources within the applicatin so that I can signal it to shut down if resource levels become critical. I have had a look at things like WMI etc but am unsure as to how to go about this. Any tips would be much appreciated. Bruce
24x7? On Windows ME? You must be kidding :) Tomasz Sowinski -- http://www.shooltz.com.pl
-
Hi, I am working with an application that has to run 24x7. I would like to be able to monitor system resources within the applicatin so that I can signal it to shut down if resource levels become critical. I have had a look at things like WMI etc but am unsure as to how to go about this. Any tips would be much appreciated. Bruce
You should be able to get system information with (I think...) GetSystemInfo(...). There are also calls to get resource information etc. There was an article I read somewhere about someone using Windows 98 in a 24x7 configuration. If only I knew where I read it. It is going to take a fair number of 24 hour days to make sure that the system is stable to last a few 24 hour days. The author of the article went through about 4 different hardware combinations before he managed to get stable drivers for his system. I did a project in the past with Windows 98 and it would last about a week before needing to be restarted. Fortunately it just hung and the UI froze so our customers would simply restart their PC when it happened. "Harland Pepper, would you stop naming nuts" - Harland Pepper
-
Hi, I am working with an application that has to run 24x7. I would like to be able to monitor system resources within the applicatin so that I can signal it to shut down if resource levels become critical. I have had a look at things like WMI etc but am unsure as to how to go about this. Any tips would be much appreciated. Bruce
I admit this is a shameless plug for my product. Check out MemWatcher at www.matrixsoftware.com. It may help your Win9x machine run longer without running out of resources. I use it to keep my 98 PC running for days without rebooting. Of course, you may be better off running NT/2K. In all fairness, there's a competing product called MemTurbo (wwwmemturbo.com), but I find mine more useful and somewhat easier to use. I'm about to release a new version (free to existing users) in a few days. Thanks, /ravi
-
Hi, I am working with an application that has to run 24x7. I would like to be able to monitor system resources within the applicatin so that I can signal it to shut down if resource levels become critical. I have had a look at things like WMI etc but am unsure as to how to go about this. Any tips would be much appreciated. Bruce
24 x 7 on a Win9x (that includes WinMe) is a non starter. There is an internal timer that rolls around on day 49. When this happens the box freezes. The resource limit on Win9x is 2GB, so if you have any sort of systematic leak of handles or related resources, you will hit that hard limit sooner or later. I'd recommend doing this work on WinNT. Stephen Kellett -- C++/Java/Win NT/Unix variants Memory leaks/corruptions/performance/system problems. UK based. Problems with RSI/WRULD? Contact me for advice.
-
24 x 7 on a Win9x (that includes WinMe) is a non starter. There is an internal timer that rolls around on day 49. When this happens the box freezes. The resource limit on Win9x is 2GB, so if you have any sort of systematic leak of handles or related resources, you will hit that hard limit sooner or later. I'd recommend doing this work on WinNT. Stephen Kellett -- C++/Java/Win NT/Unix variants Memory leaks/corruptions/performance/system problems. UK based. Problems with RSI/WRULD? Contact me for advice.
Doh! Did I write 2GB, I think I meant 2MB. Stephen Kellett -- C++/Java/Win NT/Unix variants Memory leaks/corruptions/performance/system problems. UK based. Problems with RSI/WRULD? Contact me for advice.