Skip to main content

build_cgroup_sampler_stop_snippet

Function build_cgroup_sampler_stop_snippet 

Source
pub fn build_cgroup_sampler_stop_snippet() -> String
Expand description

Shell fragment stopping the sampler once the container has exited and leaving the last sample (<max> <peak> <oom> <oom_kill>, or empty) in $__start_command_cgroup. The cgroup can outlive the main process for a moment, so it is read one last time when it still exists.