Pages allocated to a process

Hi

I need to inspect the pages allocated to a process at an instance ,

workingset gives me the max and min value ,



Answer this question

Pages allocated to a process

  • meeeeeeeeeep

    Johan, this is not a C++ language issue. I recommended he ask his question in the following newgroup (specific to kernel issues, too):

    http://msdn.microsoft.com/newsgroups/default.aspx dg=microsoft.public.win32.programmer.kernel&lang=en&cr=US


  • clonk

    Moving to the C++ forum since you probably have better luck getting someone to give you an answer for C/C++ here...

    Best regards,
    Johan Stenberg



  • tschmidt

    Hi Thanks for the help

    Can i get the equivalent code on C++ or C so that iu can run it and check

    thanks


  • Donald E. King

    Check the Win32 API help or Google for CreateToolhelp32Snapshot, Module32First/Next and VirtualQueryEx


  • PDCS

    Dim Proc As Process() = Process.GetProcesses

    TextBox1.ScrollBars = ScrollBars.Vertical

    For i As Short = 0 To Proc.Length - 1

    If Proc(i).Id > 4 Then

    ' paged memory is virtual memory

    TextBox1.Text &= Proc(i).ProcessName & " " & _

    Proc(i).PagedMemorySize64 / 1024 & " Bytes." & vbCrLf

    End If

    Next



  • Pages allocated to a process