By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,767 Members | 2,114 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,767 IT Pros & Developers. It's quick & easy.

display available memory

P: n/a
Hi!
I'd like to display available memory using Python but I haven't found the
easy way to do it...
Any idea please?
Also I need a no specific OS function, as I plan to not only use it under
Windows.
Thanks

Alex
Jul 18 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
"Alexandre" <al***********@yahoo.com> wrote:

I'd like to display available memory using Python but I haven't found the
easy way to do it...
Any idea please?
Also I need a no specific OS function, as I plan to not only use it under
Windows.


There is no system-independent method of doing this. In fact, it's not
easy to find a system-DEPENDENT method of doing this.

That's partly because the whole concept has very little meaning. What do
you mean by "available memory"? Windows and Linux are both virtual memory
systems. The amount of RAM in your machine is irrelevant; the operating
system will just keep giving you more and more memory and rolling the old
stuff out to the swap file.
--
- Tim Roberts, ti**@probo.com
Providenza & Boekelheide, Inc.
Jul 18 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.