1 Demonstrations of pidpersec, the Linux eBPF/bcc version. 2 3 4 This shows the number of new processes created per second, measured by tracing 5 the kernel fork() routine: 6 7 # ./pidpersec 8 Tracing... Ctrl-C to end. 9 18:33:06: PIDs/sec: 4 10 18:33:07: PIDs/sec: 5 11 18:33:08: PIDs/sec: 4 12 18:33:09: PIDs/sec: 4 13 18:33:10: PIDs/sec: 21 14 18:33:11: PIDs/sec: 5 15 18:33:12: PIDs/sec: 4 16 18:33:13: PIDs/sec: 4 17 18 Each second there are four new processes (this happens to be caused by a 19 launcher script that is retrying in a loop, and encountering errors). 20 21 At 18:33:10, I typed "man ls" in another server session, which caused an 22 increase in the number of new processes as the necessary commands were run. 23