Skip to main content

pid_start_time

Function pid_start_time 

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

Read a process’s Linux start time as a stable PID identity token.

The value is field 22 of /proc/<pid>/stat, measured in clock ticks since boot. It distinguishes a recorded process from a later process that reused the same PID. Other platforms return None until they provide an equivalent stable token.