def collect_virtmem_usage(self):
        stats = psutil.virtmem_usage()
        for k, v in stats._asdict().iteritems():
            self.registry.gauge("virtmem.%s" % k).set_value(v)
dataset/ETHPy150Open omergertel/pyformance/example_sysmetrics.py/Collector.collect_virtmem_usage/original