Message-Id: <200508042155.j74LtbRA026728@delorie.com> Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 From: "Herb Martin" To: "'Cygwin List'" Subject: RE: pid confusion and pstree (Attn: User's Guide maintainer) Date: Thu, 4 Aug 2005 16:55:29 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit In-Reply-To: Jason Pyeron wrote> > 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. I am a Cygwin beginner too, so if this is not useful to your discussion just ignore this message: In my limited experience the PID and the WINPID are always (?) the same for Cygwin processess INITIALLY. After a HUP signal (kill -s HUP pid, my Cygwin process (if it survives) will have the SAME PID but a new WinPID. I use this fact to assure myself that I have succeeded in the HUP to get Exim and other programs to reload their configuration. -- Herb -- 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/