Use psutil.virtual_memory() and psutil.swap_memory() to monitor the actual system memory usage
Use psutil.virtual_memory() and psutil.swap_memory() to monitor the actual system memory usage

psutil.phymem_usage() and psutil.virtmem_usage() are deprecated.
Instead we now have psutil.virtual_memory() and psutil.swap_memory(),
which should provide all the necessary pieces to monitor the actual
system memory usage, both physical and swap/disk related.

dcsquared13/Diamond,hamelg/Diamond,stuartbfox/Diamond,Clever/Diamond,anandbhoraskar/Diamond,Netuitive/netuitive-diamond,stuartbfox/Diamond,jaingaurav/Diamond,EzyInsights/Diamond,Netuitive/Diamond,Netuitive/netuitive-diamond,gg7/diamond,actmd/Diamond,Ensighten/Diamond,zoidbergwill/Diamond,tusharmakkar08/Diamond,szibis/Diamond,python-diamond/Diamond,Precis/Diamond,Ensighten/Diamond,actmd/Diamond,szibis/Diamond,dcsquared13/Diamond,jumping/Diamond,hamelg/Diamond,russss/Diamond,Ssawa/Diamond,hamelg/Diamond,skbkontur/Diamond,EzyInsights/Diamond,anandbhoraskar/Diamond,MichaelDoyle/Diamond,EzyInsights/Diamond,Clever/Diamond,Clever/Diamond,russss/Diamond,anandbhoraskar/Diamond,Netuitive/Diamond,zoidbergwill/Diamond,dcsquared13/Diamond,jumping/Diamond,stuartbfox/Diamond,acquia/Diamond,dcsquared13/Diamond,skbkontur/Diamond,actmd/Diamond,Netuitive/netuitive-diamond,bmhatfield/Diamond,stuartbfox/Diamond,tusharmakkar08/Diamond,Clever/Diamond,Netuitive/Diamond,Ssawa/Diamond,actmd/Diamond,mfriedenhagen/Diamond,Ensighten/Diamond,bmhatfield/Diamond,jumping/Diamond,Netuitive/Diamond,MichaelDoyle/Diamond,jumping/Diamond,russss/Diamond,zoidbergwill/Diamond,szibis/Diamond,Precis/Diamond,mfriedenhagen/Diamond,Ssawa/Diamond,skbkontur/Diamond,tusharmakkar08/Diamond,Ensighten/Diamond,python-diamond/Diamond,Precis/Diamond,mfriedenhagen/Diamond,skbkontur/Diamond,jaingaurav/Diamond,gg7/diamond,EzyInsights/Diamond,Ssawa/Diamond,zoidbergwill/Diamond,Netuitive/netuitive-diamond,acquia/Diamond,Precis/Diamond,szibis/Diamond,russss/Diamond,jaingaurav/Diamond,python-diamond/Diamond,MichaelDoyle/Diamond,gg7/diamond,MichaelDoyle/Diamond,hamelg/Diamond,acquia/Diamond,bmhatfield/Diamond,bmhatfield/Diamond,gg7/diamond,acquia/Diamond,anandbhoraskar/Diamond,mfriedenhagen/Diamond,jaingaurav/Diamond,tusharmakkar08/Diamond