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