From within a Python application, how can I get the total amount of RAM of the system and how much of it is currently free, in a cross-platform way?
Ideally, the amount
Have you tried SIGAR - System Information Gatherer And Reporter? After install
import os, sigar sg = sigar.open() mem = sg.mem() sg.close() print mem.total() / 1024, mem.free() / 1024
Hope this helps