Jump to content

Programmatically monitor CPU usage


soupy

Recommended Posts

I have some processor intensive data acquisition and control programs that run on windows servers. Data integrity is extremely critical. I want to get all of the metrics I can to prove that data is good and determine how far away I am from "bad" data. Does anyone know a method to acquire the current CPU usage? A total usage will suffice, but levels for each core would be super awesome!

Thanks in advance,

-Andy

Link to comment

QUOTE (crelf @ Sep 19 2008, 05:32 PM)

Thanks, but it appears that eTree perfmon no longer exists on the internet. All the links for it are dead. Do you know of any web site that would still have it, or do you have it?

Link to comment

QUOTE (bazookazuz @ Sep 19 2008, 03:24 PM)

Take a look at the http://decibel.ni.com/content/docs/DOC-2051' target="_blank">Windows Performance Monitor that uses .NET calls to access CPU (including per core values) and other system parameters.

There is a similar VI for RT applications on NI's website.

N.

Link to comment

QUOTE (jlokanis @ Sep 22 2008, 07:48 PM)

Awesome! This one is nice 'n easy.

Can you use .NET to query the processor usage of a program?

Link to comment

QUOTE (Neville D @ Sep 23 2008, 06:13 PM)

The Windows Performance Monitor I mentioned earlier, does EXACTLY that.

N.

I'm sorry, I hadn't had time to fully investigate that VI yet. You are correct, it does exactly that (and more!). I'll make a VI just for processor usage and post it shortly.

Thanks all for the help!

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.