This is the mail archive of the
cygwin-patches
mailing list for the Cygwin project.
Re: [PATCH] default ps -W process start time to system boot time when inaccessible, 0, -1
- From: Brian Inglis <Brian dot Inglis at SystematicSw dot ab dot ca>
- To: cygwin-patches at cygwin dot com
- Date: Sat, 23 Mar 2019 14:37:40 -0600
- Subject: Re: [PATCH] default ps -W process start time to system boot time when inaccessible, 0, -1
- References: <20190323034522.9688-1-Brian.Inglis@SystematicSW.ab.ca> <87d0mh5x3u.fsf@Rainer.invalid> <20190323183653.GB3471@calimero.vinschen.de> <874l7tbfh6.fsf@Rainer.invalid>
- Reply-to: Brian dot Inglis at SystematicSw dot ab dot ca
On 2019-03-23 12:41, Achim Gratz wrote:
> Corinna Vinschen writes:
>>> replacing one lie with another that is less easy to spot doesn't sound
>>> the right thing to do. How about ps if reported "N/A" or something to
>>> that effect instead?
>> 1 Jan 1970 may also be a good hint...
> Well, that was the point: I can deduce just from that date that ps
> didn't actually get data for the start time. If it starts replacing
> this with the start time of the system instead, it might take a while
> for me to see what is going on.
Are there non-startup system processes for which boot time is misleading?
If you need the truth use wmic, procexp64, or run ps in an elevated shell.
--
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada
This email may be disturbing to some readers as it contains
too much technical detail. Reader discretion is advised.