mtr原始输出的格式是什么?

我使用mtr来计算主机的跳数,并将该数字传递给脚本。 我发现了-l (或--raw )选项,它产生一个输出准备parsing。 但是,我想知道在哪里可以find这个原始格式描述? 不幸的是, man和谷歌只给我这个:

 -l --raw Use this option to tell mtr to use the raw output format. This format is better suited for archival of the measure‐ ment results. It could be parsed to be presented into any of the other display methods. 

在他们的源文件中,MTR具有名为FORMATS的文件

资源

从该文件是摘录:

 The "raw" format is: hostline|pingline|dnsline|timestampline hostline: h <pos> <host IP> pingline: p <pos> <pingtime (ms)> dnsline: d <pos> <hostname> timestampline: t <pos> <pingtime> <timestamp> Timestampline is not yet implemented. Need to find out how to do ICMP timestamping first. :-)