• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 450
  • Last Modified:

Perl: Map out used memory addresses

How do I map out used memory addresses in perl?

I want to be able to tell which addresses are used and if possible by what program on a winXP system.

Thank you very much.

Regards,

Dr34m3r
0
dr34m3rs
Asked:
dr34m3rs
  • 2
  • 2
1 Solution
 
markpalinuxCommented:
Look at MS's site at the
Technet Script Center then find the download for
Scriptomatic 2
It has some basic scripts for windows management, any of the script scamples can also give the perl and vbscritp examples
look at the Win32_Process example, it gives a bunch of info for each process


PeakPageFileUsage:
PeakVirtualSize:
PeakWorkingSetSize:

Mark
0
 
dr34m3rsAuthor Commented:
Thank you for that, some really interesting stuff there...

Please allow me to explain a little more clearly what I'm looking for though.

For my own personal understanding and development, I want to be able to "snoop" on any given memory address (physical or virtual memory address) at any given time through perl.

In other words:

# code to find used memory address blocks

# code to extract memory data


This is purely for experimental reasons right now... later maybe I'll have a use.

Thank you very much for any help ! ! !
0
 
markpalinuxCommented:

This looks at least a little promising, its says rev .20 but looks like it has a number of features that would help you:
http://search.cpan.org/~qjzhou/Win32-Process-Memory-0.20/Memory.pm

again you are only interested in Win32 right?

Mark

0
 
dr34m3rsAuthor Commented:
Yes, Win32 only right now.

That module looks like what I'm looking for. I will run some testing with it later today or tomorrow. Thank you very much - I will let you know. :-)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now