[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 446
  • 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

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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