This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]