nicolargo/glances — pull request #79 by sebastianmoreno (2012-09-06 14:47:00+00:00)
Title: Deprecation warnings - psutil 0.6.0 version

This will solve deprecation warnings for psutil 0.6.0 version.

More information: http://goo.gl/47Bys

Warnings (debian squeeze 6.0.5):

/usr/local/lib/python2.6/dist-packages/glances/glances.py:89: DeprecationWarning: psutil.phymem_usage is deprecated
psutil.phymem_usage()
/usr/local/lib/python2.6/dist-packages/glances/glances.py:90: DeprecationWarning: psutil.virtmem_usage is deprecated; use psutil.swap_memory() instead
psutil.virtmem_usage()