Commit 7bebbc9f authored by Anael Beutot's avatar Anael Beutot
Browse files

Added memcaches tag

parent bfc88ac1
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -90,6 +90,13 @@ def membuffers():
    return unicode(psutil.phymem_buffers())


@ttl(5)
@refresh(10)
def memcache():
    """Caches memory use."""
    return unicode(psutil.cached_phymem())


# disks related tags
def disk():
    """List of disk devices on the host."""