1 运行 TRex,了解输出结果
配置完成后,使用以下命令启动基本的 TRex 运行 10 秒(它将使用默认配置文件名 /etc/trex_cfg.yaml):
[bash]>sudo ./t-rex-64 -f cap2/dns.yaml -c 4 -m 1 -d 10
1.1 TRex 输出
成功运行 TRex 后,输出将类似于以下内容:
$ sudo ./t-rex-64 -f cap2/dns.yaml -d 10
Starting TRex 2.09 please wait ...
zmq publisher at: tcp://*:4500
number of ports found : 4
port : 0
------------
link : link : Link Up - speed 10000 Mbps - full-duplex 1
promiscuous : 0
port : 1
------------
link : link : Link Up - speed 10000 Mbps - full-duplex
promiscuous : 0
port : 2
------------
link : link : Link Up - speed 10000 Mbps - fu