delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-0.0 required=5.0 tests=AWL,BAYES_20,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE |
X-Spam-Check-By: | sourceware.org |
MIME-Version: | 1.0 |
Date: | Fri, 19 Oct 2012 13:48:48 +0400 |
Message-ID: | <CAMTQYcPk8CE=GGBCi9ejLeEKT8zgEBgi-q-Rqyht=xw3fQwTDg@mail.gmail.com> |
Subject: | ps -W -p <winpid> behaviour change |
From: | Boris Molodenkov <boris DOT molodenkov AT gmail DOT com> |
To: | cygwin AT cygwin DOT com |
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 |
Summary: Old 'ps -W -p' do show specific Windows process information for WINPID. New 'ps -W -p' does not show specific Windows process information for WINPID. Please look log below for details. Is that new behaviour correct? Old behaviour: $ ps --version ps (cygwin) 1.11 Process Statistics Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002 Red Hat, Inc. Compiled on Jun 12 2008 $ notepad & [1] 5780 $ ps -W -p 5780 PID PPID PGID WINPID TTY UID STIME COMMAND 5780 4184 5780 4676 con 1006 12:41:44 /cygdrive/c/WINDOWS/system32/ notepad $ ps -W -p 4676 PID PPID PGID WINPID TTY UID STIME COMMAND 4676 0 0 4676 ? 0 12:41:45 c:\WINDOWS\system32\notepad.exe New behaviour: $ ps --version ps (cygwin) 1.7.16 Show process statistics Copyright (C) 1996 - 2012 Red Hat, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. $ notepad & [1] 5092 $ ps -W -p 5092 PID PPID PGID WINPID TTY UID STIME COMMAND 5092 3204 5092 4848 pty1 1000 12:36:34 /cygdrive/c/Windows/system32/notepad 5092 3204 5092 4848 pty1 1000 12:36:34 /cygdrive/c/Windows/system32/notepad $ ps -W -p 4848 PID PPID PGID WINPID TTY UID STIME COMMAND Thanks, Boris -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |