code: def list(conf):
      
      try:
          config = init_config(conf)
          conn = get_conn(config.get('DEFAULT','statusdb'))
          cur = conn.cursor()
          sqlstr = '''select * from client_status order by ctime desc '''
          cur.execute(sqlstr)
          result = cur.fetchall()
          conn.commit()
          conn.close()
          for r in result:
              print r
      except Exception, e:
          traceback.print_exc()
docs: OpenVPN status list method