Jblake00 Posted January 1, 2004 Posted January 1, 2004 Is there a way to tell how much resoures a program uses to run? I mean programatically. I now I can moniter the resources my pc is using. But I am curious about how to tell about the program that is running only not about all the rest of the window operating system components and things such as nortons antivirus and such... In another words I guess I am trying to ask on the back of the box, when you buy a game or app, it will say system requirements are such and such... Well how is that determined? Quote Looking to expand my VB.Net knowledge. Jblake00
Administrators PlausiblyDamp Posted January 1, 2004 Administrators Posted January 1, 2004 As an external tool http://www.sysinternals.com/ntw2k/freeware/procexp.shtml is very good - new version supports .Net features like garbage collections run, classes / assemblies loaded etc. These can give some good idea of demand on the system. If you are running XP/ Win2K / NT4.0 you also have the System monitor which can target quite specific areas of cpu / mem /disk usage. These same counters can be accessed programatically through the System.Diagnostics.PerformanceCounter class. As to how to determine the requirements themselves running the app on a low memory / slow cpu system and seeing when it stops being usable - something like VMWare or MS Virtual PC can help in this case as you can create a virtual pc and artifically limit RAM available. Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.