This is the mail archive of the
cygwin
mailing list for the Cygwin project.
ps -W -p <winpid> behaviour change
- From: Boris Molodenkov <boris dot molodenkov at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Fri, 19 Oct 2012 13:48:48 +0400
- Subject: ps -W -p <winpid> behaviour change
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