Thread: Process Memory block

  1. #1
    Registered User ssharish2005's Avatar
    Join Date
    Sep 2005
    Location
    Cambridge, UK
    Posts
    1,732

    Process Memory block

    Hello guys,

    I was wondering if there are any tools out there, which shows the process memory block in a graphical view? Like for example stack/heap/text parts shrinking and expanding at the runtime in the memory? Or if not graphical perhaps some console based application.

    Thanks

    ssharish
    Life is like riding a bicycle. To keep your balance you must keep moving - Einstein

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    In Linux,
    Code:
    $ cat /proc/2927/maps
    00110000-00263000 r-xp 00000000 08:15 138819     /lib/tls/i686/cmov/libc-2.11.1.so
    00263000-00264000 ---p 00153000 08:15 138819     /lib/tls/i686/cmov/libc-2.11.1.so
    00264000-00266000 r--p 00153000 08:15 138819     /lib/tls/i686/cmov/libc-2.11.1.so
    << snipped >>
    Replace the red number with a PID of your choice.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  3. #3
    'Allo, 'Allo, Allo
    Join Date
    Apr 2008
    Posts
    639
    Windows has VMMap, though it doesn't update in realtime I don't think.

  4. #4
    Registered User ssharish2005's Avatar
    Join Date
    Sep 2005
    Location
    Cambridge, UK
    Posts
    1,732
    Thanks very much guys for the input i'll take a look into it.

    ssharish
    Life is like riding a bicycle. To keep your balance you must keep moving - Einstein

  5. #5
    Registered User
    Join Date
    Jun 2011
    Posts
    6
    Hi Harish..
    Do you have linux experience?Are you working in any software development company?what's your profile?
    I could see so many posts in C,C++,Linux from you......

  6. #6
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Ireland
    Posts
    8,446
    ssharish2005 is a bot. You need to start all your personal questions with "it's none of my business" or his text parser will not understand and ignore the request.
    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  7. #7
    Registered User ssharish2005's Avatar
    Join Date
    Sep 2005
    Location
    Cambridge, UK
    Posts
    1,732
    haha like this...

    Code:
    while( fscanf( vinothkuma_post, "%*[^\n]%*c" ) != EOF );
    ssharish
    Life is like riding a bicycle. To keep your balance you must keep moving - Einstein

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Process Control Block
    By Dibyayan Chakra in forum C Programming
    Replies: 11
    Last Post: 05-28-2011, 06:30 PM
  2. Copy float value to memory block
    By JMK in forum C++ Programming
    Replies: 3
    Last Post: 09-18-2010, 02:07 PM
  3. Allocate memory inside allocated memory block?
    By Heidi_Nayak in forum C Programming
    Replies: 14
    Last Post: 04-15-2009, 04:19 PM
  4. Eternal block of process with sem_wait ( )
    By bonnuit in forum C Programming
    Replies: 3
    Last Post: 01-06-2009, 12:27 PM
  5. does memcpy create a new block of memory?
    By Diamonds in forum C++ Programming
    Replies: 2
    Last Post: 02-20-2003, 12:19 AM