7 ms·
eBPF is a great tool to use for debugging this kind of thing too, e.g. [bpftrace](https://bpftrace.org https://bpftrace.org) has an [execsnoop](https://github.c
by bruce_one 6mo ago
eBPF is a great tool to use for debugging this kind of thing too, e.g. [bpftrace](https://bpftrace.org https://bpftrace.org) has an [execsnoop](https://github.com/bpftrace/bpftrace/blob/master/tools/execsnoop.bt https://github.com/bpftrace/bpftrace/blob/master/tools/execs...) script for looking at everything being exec'd on the system :-)
(No need to use bpftrace, just an easy example :-) )