added agent listing subcmd to metric cmd