mtr to create a text file report

$ sudo mtr --report --report-cycles 10 immortal.run > /tmp/immortal-mtr.txt

Example of output:

Start: Tue Apr 25 17:58:11 2017
HOST: M20160001.local             Loss%   Snt   Last   Avg  Best  Wrst StDev
  1.|-- 10.19.15.254               0.0%    10   41.7  41.2  25.1  81.6  16.8
  2.|-- 10.19.0.1                  0.0%    10    0.5   0.5   0.4   0.6   0.0
  3.|-- 23.189.27.97               0.0%    10    1.2   8.5   1.0  74.4  23.2
  4.|-- 89.27.149.117             80.0%    10    1.3  18.4   1.3  35.4  24.1
  5.|-- 62.214.33.237              0.0%    10    7.0   2.3   1.1   7.0   2.2
  6.|-- 62.214.37.118              0.0%    10    5.1   3.5   1.5  12.8   3.6
  7.|-- cloudflare.bcix.de         0.0%    10    1.8   2.5   1.6   8.4   2.0
  8.|-- 104.18.53.220              0.0%    10    1.9   2.1   1.6   3.6   0.3

mtr on specific port:

mtr -w -c 100 -b -T -P 587 smtp.server.tld > smtp-mtr.txt

The -w -c 100 -b -T runs a verbose report 100x, logging both IPs & Hostnames, for a good dataset. This also runs the queries through TCP, to avoid ICMP de-prioritization.