Octavian Rasnita wrote:
> Hi,
>
> Does anyone know how to find the size of the memory of a computer that runs
> under Win XP in a perl program?
> Is it possible?
You can use WMI to dump out some memory statistics:
Win32_PhysicalMemory
Win32_PhysicalMemoryLocation
Win32_PhysicalMemoryArray
etc
or Win32::API to get GlobalMemoryStatus function.
I'll send code separately.
_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs