docs: Add documentation for local-gadget top tcp.
@@ -253,6 +253,21 @@ The above output is the result of observing the following test container:
$ docker run --rm --name test-top-file busybox /bin/sh -c 'while true; do echo foo > bar; sleep 1; done'
```
+### Top/Tcp
+
+```bash
+$ sudo local-gadget top tcp
+CONTAINER PID COMM IP LOCAL REMOTE SENT RECV
+test-top-tcp 564780 nginx 4 127.0.0.1:80 127.0.0.1:35904 238B 73B
+test-top-tcp 564813 curl 4 127.0.0.1:35904 127.0.0.1:80 73B 853B
+```
+
+This output was generated by the following test container:
+
+```bash
+$ docker run --rm --name test-top-tcp nginx /bin/sh -c 'nginx; while true; do curl localhost; sleep 1; done'
+```
+
### Trace/Bind
```bash
