Skip to main content

proc_start_time_ticks

Function proc_start_time_ticks 

Source
pub fn proc_start_time_ticks(pid: u32) -> Option<u64>
Expand description

Linux /proc/<pid>/stat field 22. The value is stable for the lifetime of a process and lets the watchdog distinguish its boot parent from a reused PID. Returns None when procfs is unavailable or the process exited.