else {

//leaf level in process tree

//just wait for signal sigpause()

exit

}

}

main() {

setup SIGTERM signal handler setup SIGINT handler

level = 0

create_children()

}

Be sure that your system has sufficient memory to support a large number of processes. Approximately 256 K physical memory per process is recommended for this experiment.7 Thus, 4 GB is required for the test program, in addition to that needed for other system activity and the application to be validated.

For more information

For additional information see nproc(5), process_id_max(5), process_id_min(5), pstat(2), pstat_getproc(2), pstat_getfile2(2), limits(5).

7The memory requirement on a per-process basis varies with the specific demands of the applications executed by those processes. The per-process memory required for this experiment should not be considered a general rule.

11