WMI object displaying Computer Uptime / CPU usage

Posted on 2004-11-17
Medium Priority
Last Modified: 2012-05-05
Do you know which WMI object displays computer uptime? Also, which displays CPU usage as well.
Question by:verxic
  • 2

Accepted Solution

Montaque earned 200 total points
ID: 12610535
Hi,you may use the Win32_OperatingSystem WMI object which has a lastbootuptime propterty.


Author Comment

ID: 12611199
what about CPU usage per app?

Expert Comment

ID: 12611336
no direct way.

your may use the performance counter to query the cpu usage.

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article introduced a TextBox that supports transparent background.   Introduction TextBox is the most widely used control component in GUI design. Most GUI controls do not support transparent background and more or less do not have the…
High user turnover can cause old/redundant user data to consume valuable space. UserResourceCleanup was developed to address this by automatically deleting user folders when the user account is deleted.
Integration Management Part 2
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Suggested Courses

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question