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: Subject: ps -W -p behaviour change From: Boris Molodenkov To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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