# How to know the real-time memory consumption value of a specified process

I'm on Windows 10, when I run my c++ program, the task manager will show the real-time memory consumption value of the .exe process. I want to plot a conditional curve for this value to simulate the page Performace in task manager:

But how can I use to Mathematica to get this value?

• Related: Polling Unix Command Top. (Reading in and dispaying task manager statistics in Unix systems.) – C. E. Oct 30 '17 at 17:26
• @C.E. Thanks, and this post just care a specify process. – yode Oct 30 '17 at 17:34