Skip to main content

system_parent_chain

Function system_parent_chain 

Source
pub fn system_parent_chain() -> Vec<String>
Expand description

The names of this process’s ancestors, nearest first (the parent’s basename of /proc/<pid>/cmdline’s first element on Linux, ps -o comm= on macOS; empty elsewhere).