delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/05/30/22:13:15

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
X-Sent: 31 May 2002 02:11:27 GMT
User-Agent: Microsoft-Entourage/10.0.0.1331
Date: Thu, 30 May 2002 22:11:26 -0400
Subject: Re: Getting a process list from perl
From: Joseph Annino <jannino AT jannino DOT com>
To: Chris January <chris AT atomice DOT net>, cygwin <cygwin AT cygwin DOT com>
Message-ID: <B91C540E.8E51%jannino@jannino.com>
In-Reply-To: <005801c2076f$168c8f70$0100a8c0@advent02>
Mime-version: 1.0

Thanks for that.  I'll look forward to having /proc around, and the
hopefully the Proc modules for perl will be updated shortly after to support
Cygwin's version of /proc.

Yes everyone, I know about ps, but parsing ps puts you in a rather system
dependant nightmare, and ps is columnar so sometimes it truncates data you
might need.  I have O'Reilly's Perl for Sys Admins which has a nice little
chapter about process management.  Anyhow, ps is there in a pinch.

Thanks.

On 5/29/02 8:15 PM, "Chris January" <chris AT atomice DOT net> wrote:

>> 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.
> Wait for Cygwin 1.3.11 when you will be able to get a directory listing of
> /proc. The all-numerical entries in that directory are process IDs.
> 
> Regards
> Chris
> 
> 
> 
> --
> 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/
> 


--
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/

- Raw text -


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