def match_metric(regex):
 if _TRAFFICCTL:
  cmd = _traffic_ctl('metric', 'match', regex)
 else:
  cmd = _traffic_ctl('-m', regex)
 log.debug('Running: %s', cmd)
 return _subprocess(cmd)

def match_metric ( regex ) : if _TRAFFICCTL : cmd = _traffic_ctl ( 'metric' , 'match' , regex ) else : cmd = _traffic_ctl ( '-m' , regex ) log . debug ( 'Running: %s' , cmd ) return _subprocess ( cmd )
display the current values of all metrics whose names match the given regular expression .