[dpdk-users] Capturing testpmd output to a file

Murali Krishna murali.krishna at broadcom.com
Thu Mar 17 01:04:00 CET 2016


Hi,



Is it possible to capture below testpmd output to a file?



testpmd> start

  io packet forwarding - CRC stripping disabled - packets/burst=32

  nb forwarding cores=1 - nb forwarding ports=2

  RX queues=1 - RX desc=128 - RX free threshold=0

  RX threshold registers: pthresh=0 hthresh=0 wthresh=0

  TX queues=1 - TX desc=512 - TX free threshold=0

  TX threshold registers: pthresh=0 hthresh=0 wthresh=0

  TX RS bit threshold=0 - TXQ flags=0x0

testpmd> stop

Telling cores to stop...

Waiting for lcores to finish...



  ---------------------- Forward statistics for port 0
----------------------

  RX-packets: 30             RX-dropped: 0             RX-total: 30

  TX-packets: 30             TX-dropped: 0             TX-total: 30


----------------------------------------------------------------------------



  ---------------------- Forward statistics for port 1
----------------------

  RX-packets: 30             RX-dropped: 0             RX-total: 30

  TX-packets: 30             TX-dropped: 0             TX-total: 30


----------------------------------------------------------------------------



  +++++++++++++++ Accumulated forward statistics for all
ports+++++++++++++++

  RX-packets: 60             RX-dropped: 0             RX-total: 60

  TX-packets: 60             TX-dropped: 0             TX-total: 60


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Done.

testpmd> quit

Stopping port 0...done

Stopping port 1...done

bye...


More information about the users mailing list