github.phpd.cn/cilium/cilium@v1.6.12/Documentation/cmdref/cilium_monitor.md (about) 1 <!-- This file was autogenerated via cilium cmdref, do not edit manually--> 2 3 ## cilium monitor 4 5 Display BPF program events 6 7 ### Synopsis 8 9 The monitor displays notifications and events emitted by the BPF 10 programs attached to endpoints and devices. This includes: 11 * Dropped packet notifications 12 * Captured packet traces 13 * Debugging information 14 15 ``` 16 cilium monitor [flags] 17 ``` 18 19 ### Options 20 21 ``` 22 --from []uint16 Filter by source endpoint id 23 -h, --help help for monitor 24 --hex Do not dissect, print payload in HEX 25 -j, --json Enable json output. Shadows -v flag 26 --monitor-socket string Configure monitor socket path 27 --related-to []uint16 Filter by either source or destination endpoint id 28 --to []uint16 Filter by destination endpoint id 29 -t, --type []string Filter by event types [agent capture debug drop l7 trace] 30 -v, --verbose Enable verbose output 31 ``` 32 33 ### Options inherited from parent commands 34 35 ``` 36 --config string config file (default is $HOME/.cilium.yaml) 37 -D, --debug Enable debug messages 38 -H, --host string URI to server-side API 39 ``` 40 41 ### SEE ALSO 42 43 * [cilium](../cilium) - CLI 44