Starts capturing packet data.
To stop capture and trigger dump, use SIGINT or SIGUSR1. Program dumps packets to file and exits.
opapacketcapture [-o outfile] [-d devfile] [-f filterfile] [-t triggerfile] [-l triggerlag][-a alarm] [-p packets] [-s maxblocks] [-v] [-h]
Produces full help text.
Output file for captured packets. Default = packetDump.pcap
Device file for capturing packets. Default = /dev/hfi1_diagpkt0
File used for filtering. If absent, no filtering is done.
File used for triggering a stop capture. If absent, normal triggering is performed.
Number of packets to collect after trigger condition is met, before dumping data and exiting. Default = 10.
Number of seconds for alarm trigger to dump capture and exit.
Number of packets for alarm trigger to dump capture and exit.
Number of blocks to allocate for ring buffer. Value is in Millions. Default = 2 which corresponds to 128 MiB because 1 block = 64 Bytes.
Produces verbose output.