RAM size

View: New views
2 Messages — Rating Filter:   Alert me  

RAM size

by AstroMag () :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

 Hi,

How can I get computer RAM (Random Access Memory) size in MONO?
How can I get Total Physical Memory and Free Physical Memory in MONO?

Re: RAM size

by Paolo Molaro-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 03/06/08 AstroMag wrote:
> How can I get computer RAM (Random Access Memory) size in MONO?
> How can I get Total Physical Memory and Free Physical Memory in MONO?

On Linux you can read the /proc/meminfo file which contains stuff like:
MemTotal:      2067116 kB
MemFree:        191708 kB

lupus

--
-----------------------------------------------------------------
lupus@...                                     debian/rules
lupus@...                             Monkeys do it better
_______________________________________________
Mono-list maillist  -  Mono-list@...
http://lists.ximian.com/mailman/listinfo/mono-list