display available memory

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Alexandre

    display available memory

    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


  • Tim Roberts

    #2
    Re: display available memory

    "Alexandre" <alx5962NOSPAM@ yahoo.com> wrote:[color=blue]
    >
    >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.[/color]

    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, timr@probo.com
    Providenza & Boekelheide, Inc.

    Comment

    Working...