Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Checking other processes memory usage?

Checking other processes memory usage?

Scheduled Pinned Locked Moved C / C++ / MFC
performancequestion
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    chilituna
    wrote on last edited by
    #1

    Hi, I want to create a program that can monitor another processes memory usage.. Where it can find information about other processes memory usage?? WinAPI is large and wide and I am lost :sigh:

    K B C 3 Replies Last reply
    0
    • C chilituna

      Hi, I want to create a program that can monitor another processes memory usage.. Where it can find information about other processes memory usage?? WinAPI is large and wide and I am lost :sigh:

      K Offline
      K Offline
      khan
      wrote on last edited by
      #2

      I think this function is mainly what you are looking for: GetProcessMemoryInfo(...); http://msdn.microsoft.com/library/default.asp?url=/library/en-us/perfmon/base/getprocessmemoryinfo.asp[^] There is a link to an example also. this is this.

      1 Reply Last reply
      0
      • C chilituna

        Hi, I want to create a program that can monitor another processes memory usage.. Where it can find information about other processes memory usage?? WinAPI is large and wide and I am lost :sigh:

        B Offline
        B Offline
        Blake Miller
        wrote on last edited by
        #3

        You can also use OpenProcess and VirtualQueryEx People that start writing code immediately are programmers (or hackers), people that ask questions first are Software Engineers - Graham Shanks

        1 Reply Last reply
        0
        • C chilituna

          Hi, I want to create a program that can monitor another processes memory usage.. Where it can find information about other processes memory usage?? WinAPI is large and wide and I am lost :sigh:

          C Offline
          C Offline
          chilituna
          wrote on last edited by
          #4

          Ok, thanks! :)

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups