Link to home
Start Free TrialLog in
Avatar of dr34m3rs
dr34m3rs

asked on

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
Avatar of markpalinux
markpalinux
Flag of United States of America image

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
Avatar of dr34m3rs
dr34m3rs

ASKER

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 ! ! !
ASKER CERTIFIED SOLUTION
Avatar of markpalinux
markpalinux
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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. :-)