my $text = $host->cmd("monitor lag $lag_traffic interval 3 repeat 3 rate | match Totals post-lines 1"); #### my $lags = $host->cmd("show lag description"); my @lag_id = ( $lags =~ m/(\d+)\Se\S/g );