Show pageOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== BPF ====== {{:cheatsheet:bpftrace_probes_2018.png|}} ===== BPFtrace ===== Get all ran bash command <code> bpftrace -e 'uretprobe:/bin/bash:readline { time("%H:%M:%S "); printf("%-6d %s %5d (%s) -", pid, str(retval), uid, username); cat("/proc/%d/environ", pid) ; printf("\n")}' </code> cheatsheet/bpf.txt Last modified: 2024/10/14 20:59by 127.0.0.1