Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / February 2006

Tip: Looking for answers? Try searching our database.

PerformanceCounter for a specific process

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Avi - 01 Feb 2006 14:12 GMT
Hi Experts,

I would like to get the memory used and cpu usage for a specific process.
How do I go about doing it?

Thanks a million,
Avi
Josh Twist - 01 Feb 2006 15:40 GMT
Welcome to the world of perfmon.

To get started go to Start > Run > perfmon

Now have a play and add some new counters. There are even special
counters for managed (.NET) activities too.

Next, have a search for help on perfmon using google etc.

Josh
http://www.thejoyofcode.com/
Avi - 02 Feb 2006 08:15 GMT
Thanks Josh for your reply.

I know perfmon and I use it extensively.  However, I would like to do the
same from my code because I make decisions based on that data.

Is there a class or API which I can use to get the memory and cpu which are
used by a single process (and not for the while system).  I need to be able
to do it FROM within my .NET applicatoin?

> Welcome to the world of perfmon.
>
[quoted text clipped - 7 lines]
> Josh
> http://www.thejoyofcode.com/

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.