Debian Codegraph @

testsuite/systemtap.examples/process/spawn_seeker.meta

raw
1 title: Track Creation of Processes by process and execname
2 name: spawn_seeker.stp
3 version: 0.1
4 author: William Cohen at Red Hat
5 keywords: process scheduler
6 subsystem: scheduler
7 status: production
8 exit: user-controlled
9 output: sorted-list
10 scope: system-wide
11 description: The spawn_seeker.stp script every minute (and on exit) prints out the local time and sorted lists of which processes and executables spawned tasks during the previous minute. This can be useful to determine what process is creating a flurry of short-lived processes. When a process exits its count of tasks created is added to its parent's count to better account for the indirect task creation by children processes. For more detailed examination of task creation consider using forktracker.stp.
12 test_check: stap -p4 spawn_seeker.stp
13 test_installcheck: stap spawn_seeker.stp -T 1