julmon/pg_activity — pull request #2 by HybridDBA (2012-12-04 03:09:50+00:00)
Title: Remove psutil deprecation warnings

From http://mail.python.org/pipermail/python-announce-list/2012-August/009575.html

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.