pub fn system_parent_chain() -> Vec<String>
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).
/proc/<pid>/cmdline
ps -o comm=