def METHOD_NAME(
    total,
    available,
    unit = 'kB',
    free = 0,
    buffers = 0,
    cached = 0,
    slab = 0
):
    data = []
    states = [
        ('MemTotal', total),
        ('MemAvailable', available),
        ('MemFree', free),
        ('Buffers', buffers),
        ('Cached', cached),
        ('Slab', slab)
    ]
    for i, (key, value) in enumerate(states):
        data.append('{}: {} {}'.format(key, value, unit))
    return '\n'.join(data)