delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
DomainKey-Signature: | a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:date:from:to:subject:message-id:reply-to | |
:references:mime-version:content-type:in-reply-to; q=dns; s= | |
default; b=T3VMXiWF/99U4FJTiLePMGcIeRsXbdm3lt9vTB3k6LBN30fzXXy+P | |
wNpqMicLeArshgA9//fnUQD3LW+WCxVmlrjkIWR7M56mrLpplvP+dSnWpCCHsKUi | |
l6lpypb26Qbw8hNHpbZxnD5cKqxVUMHRERi17zyEIZfWd8fVKxpI+0= | |
DKIM-Signature: | v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:date:from:to:subject:message-id:reply-to | |
:references:mime-version:content-type:in-reply-to; s=default; | |
bh=tC5BL/YTFcW4OBPFEX7BLwks0GU=; b=b0cxejFVlQebycNygQ6T9wdFsGp6 | |
B0C5A/eyyiMgS/oZ9nxqmyw8iEMyftlMzAVG8CcKwjPCqaoO72bEgT1zyi5jMhA4 | |
f8kiwh24RtF8XU04MWutL4vONHP2fxFEMbdUM5rj3SJSE7PH+SNdDVeGURRWJD1t | |
DLYalj4H6EAHFtE= | |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Authentication-Results: | sourceware.org; auth=none |
X-Spam-SWARE-Status: | No, score=-101.6 required=5.0 tests=AWL,BAYES_00,GOOD_FROM_CORINNA_CYGWIN,KAM_NUMSUBJECT,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 spammy=unique |
X-HELO: | mout.kundenserver.de |
Date: | Thu, 21 Mar 2019 20:08:26 +0100 |
From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: ps -W now showing STIME Dec 31 |
Message-ID: | <20190321190826.GV3908@calimero.vinschen.de> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <a72f126f-ee45-9d77-5116-6ec1eb64c878 AT SystematicSw DOT ab DOT ca> <20190321145237 DOT GF2167 AT calimero DOT vinschen DOT de> <f0a29c26-2c1a-7104-d832-a6ae0bda5e2b AT SystematicSw DOT ab DOT ca> |
MIME-Version: | 1.0 |
In-Reply-To: | <f0a29c26-2c1a-7104-d832-a6ae0bda5e2b@SystematicSw.ab.ca> |
User-Agent: | Mutt/1.11.3 (2019-02-01) |
--ijf6z65S790CMqo8 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mar 21 10:02, Brian Inglis wrote: > On 2019-03-21 08:52, Corinna Vinschen wrote: > > On Mar 21 08:07, Brian Inglis wrote: > >> With latest Cygwin ps -W is now showing STIME Dec 31 for Windows start= up > >> processes - these should be limited to actual start or uptime if possi= ble. > > It's not possible. Starttime requires ability to open process. >=20 > Everything on Cygwin updated Mar 18. > Running ps under bash from mintty launched from XDG. > Ran cygcheck on ps below, and attached strace not showing much useful. > Running under gdb, ps appears never to call GetProcessTimes on startup pr= ocesses > including my own startup scheduled tasks, so start_time is always zero, a= nd is > offset -7 to MST. > Showing below also unique startup programs, unique other programs with no= rmal > times from System32, running Cygwin processes, and installed releases FYI. > I could rebuild ps with debugging and add logging if not reproducible. Sorry, but I really can't follow. It's really simple: If the user can open a process, starttime is available, if the user can not open the process, starttime is not available. Just check the ps source. If you see another solution (no WMI, Bill is right there), feel free to providea patch. Corinna --=20 Corinna Vinschen Cygwin Maintainer --ijf6z65S790CMqo8 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEoVYPmneWZnwT6kwF9TYGna5ET6AFAlyT4SoACgkQ9TYGna5E T6AYBQ//ShwIlYj8gG9EVFFclSU/82njM0YGVWgur4G+J10Ih7h7NfXk7QM6R7Kg WDhVuxfuvqim39+IIQjiFGlviA2W2r4R0RTdVtLh2aKtBox4PSFCf82NTAuIJQ02 zZNweAUEefWdE6Awfr/Hcu+L7ieCTZYL+vbwCddlsSJODjS3jK2i8llIqRfxKP0m gjW4aIrZQoPiV16Mus6Sl92l9HhZoR5tWCN1Qq1twJDPd7Eu/tSg2U222OBWCwLt xEzKJubIzdMtsUfWPQO0xk/NWIueMXER8tMOgm9GYpz0yT45ARp+YlPye0bRW18B zUVuz9uKob6HQcbkClW1NybfbN0/WC1HMkfnTCY5K54+2AgASAAW7e09PbJfLq48 62GFRKMIaJVgTb97X4UfemimGdT9mxw5h2mKmHIX3G9m7era5nqskLikCvRbp26g rC1/xTp7CIuJlFXbsUkmUGOebjxv05E13Tm75aEbpKO1vWefy98HGsJOFryHl9Of FFo9VZJzdU46+fwGJa92MXMJaNvjhwaxLb/25z48Yxh1POAbdTjh8DTrjGGzWAGA ObybOE2COvrN0XcclVXEwF+kY5+Wq1LG2q7G3ZPjimfPOfFFUWROMh35PV6/i4Se Brv9G5Omgp4R0KKjhTQdIo7ibJKTMkyARoU4+UnBYhRuqDDzH4g= =4jK7 -----END PGP SIGNATURE----- --ijf6z65S790CMqo8--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |