View | Details | Raw Unified | Return to bug 157317
Collapse All | Expand All

(-)/usr/src/usr.sbin/usbdump/usbdump.8 (-4 / +4 lines)
Lines 53-73 Link Here
53
Snapshot bytes from each packet.
53
Snapshot bytes from each packet.
54
.It Fl v
54
.It Fl v
55
Enable debugging messages.
55
Enable debugging messages.
56
When it defined multiple times the verbose level increases.
56
When given multiple times, the verbosity level increases.
57
.It Fl w Ar file
57
.It Fl w Ar file
58
Write the raw packets to file.
58
Write the raw packets to file.
59
.El
59
.El
60
.Sh EXAMPLES
60
.Sh EXAMPLES
61
Captures the USB raw packets alive on usbus2:
61
Capture the USB raw packets alive on usbus2:
62
.Pp
62
.Pp
63
.Dl "usbdump -i usbus2 -s 256 -v"
63
.Dl "usbdump -i usbus2 -s 256 -v"
64
.Pp
64
.Pp
65
Dumps the USB raw packets of usbus2 into the file without packet
65
Dump the USB raw packets of usbus2 into the file without packet
66
size limit:
66
size limit:
67
.Pp
67
.Pp
68
.Dl "usbdump -i usbus2 -s 0 -w /tmp/dump_pkts"
68
.Dl "usbdump -i usbus2 -s 0 -w /tmp/dump_pkts"
69
.Pp
69
.Pp
70
Read the USB raw packets from the file:
70
Read and display the USB raw packets from the file:
71
.Pp
71
.Pp
72
.Dl "usbdump -r /tmp/dump_pkts -v"
72
.Dl "usbdump -r /tmp/dump_pkts -v"
73
.Sh SEE ALSO
73
.Sh SEE ALSO

Return to bug 157317