command line to get server metadata