delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/08/04/17:09:30

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Date: Thu, 4 Aug 2005 17:09:13 -0400 (EDT)
From: Jason Pyeron <jpyeron AT pdinc DOT us>
X-X-Sender: jpyeron AT ns DOT pyerotechnics DOT com
To: cygwin AT cygwin DOT com
Subject: Re: pid confusion and pstree (Attn: User's Guide maintainer)
In-Reply-To: <Pine.GSO.4.61.0508041640550.3695@slinky.cs.nyu.edu>
Message-ID: <Pine.LNX.4.62.0508041704070.27688@ns.pyerotechnics.com>
References: <Pine DOT LNX DOT 4 DOT 62 DOT 0508041520500 DOT 25913 AT ns DOT pyerotechnics DOT com> <Pine DOT GSO DOT 4 DOT 61 DOT 0508041531470 DOT 3695 AT slinky DOT cs DOT nyu DOT edu> <Pine DOT LNX DOT 4 DOT 62 DOT 0508041538440 DOT 25913 AT ns DOT pyerotechnics DOT com> <Pine DOT GSO DOT 4 DOT 61 DOT 0508041617420 DOT 3695 AT slinky DOT cs DOT nyu DOT edu> <Pine DOT LNX DOT 4 DOT 62 DOT 0508041626100 DOT 25913 AT ns DOT pyerotechnics DOT com> <Pine DOT GSO DOT 4 DOT 61 DOT 0508041640550 DOT 3695 AT slinky DOT cs DOT nyu DOT edu>
MIME-Version: 1.0
X-IsSubscribed: yes

On Thu, 4 Aug 2005, Igor Pechtchanski wrote:

>
> See "man ps" and <http://cygwin.com/cygwin-ug-net/cygwin-ug-net.html#ps>.
>
> -W means "all Windows processes".  IIRC, the "-a" is ignored when -W is
> specified.
> HTH,
> 	Igor
> P.S. Note to the UG maintainer: Joshua, there's a typo in the description
> of "ps" on the above referenced page: "synonomous" should be "synonymous".
>

I did read the man page for ps, first, before posting.

I does not say that the cygwin pid will be changed to the windows pid 
for cygwin processes. It does indicate for windows processes the PID is 
the same as the WINPID and can be used in kill -f.

nor does it mention the conflict between -a and -W

from ps man page:


        -a, --all
               show processes of all users

        -W, --windows
               show windows as well as cygwin processes


-jason

-- 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-                                                               -
- Jason Pyeron                      PD Inc. http://www.pdinc.us -
- Partner & Sr. Manager             7 West 24th Street #100     -
- +1 (443) 921-0381                 Baltimore, Maryland 21218   -
-                                                               -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

This message is for the designated recipient only and may contain 
privileged, proprietary, or otherwise private information. If you 
have received it in error, purge the message from your system and 
notify the sender immediately.  Any other use of the email by you 
is prohibited.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019