• Advertisement
Sign in to follow this  

Pulling in system values (Mem, CPU)

This topic is 4322 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi all, I'm curently working on a project which involves taking certain system values and representing them graphically in a game-style (pacman, in fact) screensaver. I'm wondering if there's any simple way in C++ of pulling in integer values for CPU and Memory usage (as a percentage), and the number of users on a network. I've done some googling on the subject, and all the solutions I've found seem to involve about half a dozen header and resource files. I was really hoping for something that can be accomplished in a few lines of code. Can anyone help, or am I being overly optimistic? tia, SatNav

Share this post


Link to post
Share on other sites
Advertisement
GetSystemMetrics will give you a bunch of system values. I'm not sure if you can easily get things like # of users on a network.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement