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 X-Sent: 29 May 2002 18:20:50 GMT User-Agent: Microsoft-Entourage/10.0.0.1331 Date: Wed, 29 May 2002 14:20:49 -0400 Subject: Re: Getting a process list from perl From: Joseph Annino To: cygwin Message-ID: In-Reply-To: Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit Well I solved my own problem. When in doupt, upgrade. Going to the newest version of rsync has solved my slowness problems so far. My perl signal handler that kills all the scripts children is able to gracefully kill an rsync that is taking too long, returning control back to the script so it can clean up and finish somewhere outside the signal handler. I am still curious about getting process listings, since I will have use for that still. On 5/29/02 1:53 PM, "Joseph Annino" wrote: > Is there some reliable sanctioned method of getting the list of running > processes, their group ids, and parent ids, from perl under cygwin? > > I asked a question earlier about cygwin getting very very slow after killing > an rsync that spawns an SSH. I don't get this problem if I kill the SSH > instead. So I need a way to get the pid of the ssh spawned by rsync so I can > kill it. And if anyone has any advice about the slowness problem let me know > too. Thanks. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/