Skip to content

Instantly share code, notes, and snippets.

@maurorappa
Created October 9, 2024 06:57
Show Gist options
  • Save maurorappa/f1fac27162c53be87e46496eb3415fa5 to your computer and use it in GitHub Desktop.
Save maurorappa/f1fac27162c53be87e46496eb3415fa5 to your computer and use it in GitHub Desktop.
see all new created processes (pid, cmd and args)
bpftrace -e 'tracepoint:syscalls:sys_enter_exec*{ printf("pid: %d, comm: %s, args: ", pid, comm); join(args->argv); }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment