trace_tcp
The trace_tcp gadget tracks tcp connect, accept and close.
Getting started
Running the gadget:
- kubectl gadget
- ig
$ kubectl gadget run ghcr.io/inspektor-gadget/gadget/trace_tcp:latest [flags]
$ sudo ig run ghcr.io/inspektor-gadget/gadget/trace_tcp:latest [flags]
Flags
--pid
Show only events generated by processes with this pid
Default value: ""
--uid
Show only events generated by processes with this uid
Default value: ""