Re: make process.ps_start an uptime instead of a realtime

2018-06-22 Thread Scott Cheloha
On Tue, Jun 05, 2018 at 03:57:48PM -0600, Todd C. Miller wrote: > On Tue, 05 Jun 2018 16:30:14 -0500, Scott Cheloha wrote: > > > Because the system clock can jump around, process start times > > should be recorded as offsets from boot and only converted to > > a time of day on request. > > > >

Re: make process.ps_start an uptime instead of a realtime

2018-06-05 Thread Todd C. Miller
On Tue, 05 Jun 2018 16:30:14 -0500, Scott Cheloha wrote: > Because the system clock can jump around, process start times > should be recorded as offsets from boot and only converted to > a time of day on request. > > This keeps ps(1)'s etime accurate and ensures processes are > correctly sorted

make process.ps_start an uptime instead of a realtime

2018-06-05 Thread Scott Cheloha
Hi, Because the system clock can jump around, process start times should be recorded as offsets from boot and only converted to a time of day on request. This keeps ps(1)'s etime accurate and ensures processes are correctly sorted by age in ps(1) and pgrep(1). I don't think we're losing much by