Ok, thank you all for your help.

Octavian

----- Original Message ----- 
From: "Bill Luebkert" <[EMAIL PROTECTED]>
To: "Octavian Rasnita" <[EMAIL PROTECTED]>
Cc: <[email protected]>
Sent: Wednesday, February 20, 2008 8:40 AM
Subject: Re: getting the size of memory


> 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

Reply via email to