def item_stats(host, port):
    """Check the stats for items and connection status."""

    stats = None
    try:
        mc = memcache.Client(['%s:%s' % (host, port)])
        stats = mc.get_stats()[0][1]
    except __HOLE__:
        raise
    finally:
        return stats
dataset/ETHPy150Open rcbops/rpc-openstack/maas/plugins/memcached_status.py/item_stats