added cmdline option for measure server.