|
The new method still uses the start time of the process, but figures and
formats it differently. The new way takes the time in "jiffies" since the
system booted, using `/proc/$pid/stat`. The old way used `lstart` from
`ps`, which calculated the time by adding that to the boot time. This can
drift though, as NTP adjusts the system time. I was frequently seeing one
second discrepancies, causing duplicate processes to spawn.
|