def umem(count):
    """
    umem -  units of memory
    """
    if count / 1000000000.0 > 1:
        return '%sGB' % round(count / 1000000000.0, 1)
    elif count / 1000000.0 > 1:
        return '%sMB' % round(count / 1000000.0, 1)
    elif count / 1000.0 > 1:
        return '%sKB' % round(count / 1000.0, 1)
    return '%s B' % count
