You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
--container-id string Filter by container id (only TCP and UDP packets are supported)
278
280
--container-name string Filter by container name (only TCP and UDP packets are supported)
279
281
--containerd-address string Address of containerd service (default "/run/containerd/containerd.sock")
280
-
--context strings Specify which context information to include in the output (default [process,parentproc,container,pod])
282
+
--context strings Specify which context information to include in the output (default [process,thread,parentproc,user,container,pod])
281
283
--count Print only on stdout the packet count when reading capture file instead of parsing/printing the packets
282
284
--cri-runtime-address string Address of CRI container runtime service (default: uses in order the first successful one of [/var/run/dockershim.sock, /var/run/cri-dockerd.sock, /run/crio/crio.sock, /run/containerd/containerd.sock])
283
285
--delay-before-handle-packet-events duration Delay some durations before handle packet events
@@ -311,6 +313,7 @@ Flags:
311
313
-c, --receive-count uint Exit after receiving count packets
312
314
-s, --snapshot-length uint32 Snarf snaplen bytes of data from each packet rather than the default of 262144 bytes (default 262144)
313
315
--time-stamp-precision string When capturing, set the time stamp precision for the capture to the format (default "micro")
316
+
--uid uints Filter by user IDs (only TCP and UDP packets are supported) (default [])
314
317
-v, --verbose count When parsing and printing, produce (slightly more) verbose output
315
318
--version Print the ptcpdump and libpcap version strings and exit
316
319
-w, --write-file string Write the raw packets to file rather than parsing and printing them out. They can later be printed with the -r option. Standard output is used if file is '-'. e.g. ptcpdump.pcapng
0 commit comments