def get_all_sessions(zk_client):
        # Get connection/session information
        conn_results = multi_admin_command(zk_client, b'cons')
        conn_data = map(parse_admin_cons, conn_results)
        conn_data = list(itertools.chain.from_iterable(conn_data))
        # Get a dict of all valid zookeeper sessions as integers
        return {con['sid']: con['client'][0]  for con in conn_data if con.get('sid')}