User Profile

Collapse

Profile Sidebar

Collapse
fischler
fischler
Last Activity: Jul 30 '07, 11:31 PM
Joined: Jul 30 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • fischler
    replied to How to get process' CPU usage knowing PID?
    in .NET
    Dear all,

    I got it, code below.

    Netanel

    Code:
    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Text;
    using System.Windows.Forms;
    using System.Diagnostics;
    
    namespace NDS.IEX.NCC.Process.CPU.Usage
    {
        public partial class Form1 : Form
    ...
    See more | Go to post

    Leave a comment:


  • fischler
    replied to How to get process' CPU usage knowing PID?
    in .NET
    Dear all,

    I wrote the following application. it does the following things:

    1. monitoring CPU usage.
    2. if found that it pass the limit (maxCPU) it detect the application which stick the CPU and propose closing / killing it.

    Question:
    is it possible to tell the PerformanceCoun ter to monitor the process by its ID and not by its name (for case that I load multiple instances of the same application)....
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...