anchor.diff:              nomatch -> error({wrong_format, Str})
           end,
   
  -    In =
  -        case re:run(Str, "RX packets \\d+\\s+bytes (\\d+)", [{capture, [1], list}]) of
  -            {match, [InStr]} -> erlang:list_to_integer(InStr);
  -            nomatch -> error({wrong_format, Str})
  -        end,
  -
  -    Out =
  -        case re:run(Str, "TX packets \\d+\\s+bytes (\\d+)", [{capture, [1], list}]) of
  -            {match, [OutStr]} -> erlang:list_to_integer(OutStr);
  -            nomatch -> error({wrong_format, Str})
  -        end,
  -
  -    {Name, [{ibytes, In}, {obytes, Out}]}.
  -
  +    {In, InPkts} =
  +        case re:run(Str, "RX packets (\\d+)\\s+bytes (\\d+)", [{capture, [1,2], list}]) of
  +            {match, [InPktsStr, InStr]} -> {erlang:list_to_integer(InStr), erlang:list_to_integer(InPktsStr)};
  +            nomatch -> error({wrong_format, Str})
  +        end,
  +
  +    {Out, OutPkts} =
  +        case re:run(Str, "TX packets (\\d+)\\s+bytes (\\d+)", [{capture, [1,2], list}]) of
  +            {match, [OutPktsStr, OutStr]} -> {erlang:list_to_integer(OutStr), erlang:list_to_integer(OutPktsStr)};
  +            nomatch -> error({wrong_format, Str})
  +        end,
  +
  +    {Name, [{ibytes, In}, {obytes, Out}, {ipkts, InPkts}, {opkts, OutPkts}]}.
  +
  
positive.code:                   units => "%",
                    metrics => [{metric_name("ram"), gauge}]}}] ++
  
          [{graph, #{title => "Network transmit - " ++ I,
                    units => "bytes",
                    metrics => [{metric_name("nettx." ++ I), gauge}]}} || I <- local_interfaces() ] ++
  
          [{graph, #{title => "Network receive - " ++ I,
                    units => "bytes",
                    metrics => [{metric_name("netrx." ++ I), gauge}]}} || I <- local_interfaces() ]
                    },
       {group, "MZBench Internals", [
          {graph, #{title => "Mailbox messages",
  
negative.code:             nomatch -> error({wrong_format, Str})
          end,
  
      InPkts =
          case re:run(Str, "RX packets:(\\d+)", [{capture, [1], list}]) of
              {match, [InPktsStr]} -> erlang:list_to_integer(InPktsStr);
              nomatch -> error({wrong_format, Str})
          end,
  
      Out =
          case re:run(Str, "TX bytes:(\\d+)", [{capture, [1], list}]) of
              {match, [OutStr]} -> erlang:list_to_integer(OutStr);
              nomatch -> error({wrong_format, Str})
          end,
  
      OutPkts =
          case re:run(Str, "TX packets:(\\d+)", [{capture, [1], list}]) of
              {match, [OutPktsStr]} -> erlang:list_to_integer(OutPktsStr);
              nomatch -> error({wrong_format, Str})
          end,
  
      {Name, [{ibytes, In}, {obytes, Out}, {ipkts, InPkts}, {opkts, OutPkts}]}.
  
  parse_netstat_sectionV2(Str) ->
      Name =
  