tigerneil / psutil

Automatically exported from code.google.com/p/psutil
Other
0 stars 0 forks source link

Calculate total virtual memory on all platforms #43

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Currently this is already working on Windows but other platforms do not
currently implement get_total_virtmem() to read the total virtual memory
available.

Original issue reported on code.google.com by jlo...@gmail.com on 25 Mar 2009 at 2:46

GoogleCodeExporter commented 9 years ago

Original comment by jlo...@gmail.com on 25 Mar 2009 at 3:14

GoogleCodeExporter commented 9 years ago

Original comment by jlo...@gmail.com on 25 Mar 2009 at 3:14

GoogleCodeExporter commented 9 years ago
Implemented on Windows and Linux as r281 and 295.
Virtual memory is currently exposed as a module level constant, but since it may
change it would be better replacing TOTAL_VIRTMEM with a (say) 
get_total_virtmem()
function.

Original comment by billiej...@gmail.com on 25 Mar 2009 at 3:47

GoogleCodeExporter commented 9 years ago
Implemented on Linux as r322.
We're now using the following naming convention:

TOTAL_MEM
used_mem()
total_virtmem()
used_virtmem()

Original comment by billiej...@gmail.com on 26 Mar 2009 at 2:44

GoogleCodeExporter commented 9 years ago
Implemented on FreeBSD as r325.

Original comment by billiej...@gmail.com on 27 Mar 2009 at 12:22

GoogleCodeExporter commented 9 years ago
Implemented on OS X as r321

Original comment by jlo...@gmail.com on 27 Mar 2009 at 1:31

GoogleCodeExporter commented 9 years ago

Original comment by g.rodola on 9 Jun 2011 at 10:33

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Updated csets after the SVN -> Mercurial migration:
r281 == revision 7190515808a5
r321 == revision e85e39504b3c
r322 == revision 1ce59580ce9c
r325 == revision 90cf8cffef61

Original comment by g.rodola on 2 Mar 2013 at 11:48