Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
X-Authentication-Warning: localhost.localdomain: ronald owned process doing -bs
Date: Wed, 26 Feb 2003 14:35:11 +0100 (CET)
From: Ronald Landheer-Cieslak <ronald@landheer.com>
X-X-Sender: ronald@localhost.localdomain
To: Sergey Okhapkin <sos@sokhapkin.dyndns.org>
cc: jurgen.defurne@philips.com, <cygwin@cygwin.com>
Subject: Re: Process states in cygwin ?
In-Reply-To: <013b01c2dd91$ae4614a0$0201a8c0@sos>
Message-ID: <Pine.LNX.4.44.0302261434390.25231-100000@localhost.localdomain>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

Why? 

rlc

On Wed, 26 Feb 2003, Sergey Okhapkin wrote:

> Probably
> 
>     else
>        status = 'R';  //running
> 
> would be a good idea then?
> 
> Sergey Okhapkin
> Somerset, NJ
> ----- Original Message -----
> From: "Ronald Landheer-Cieslak" <ronald@landheer.com>
> To: <jurgen.defurne@philips.com>
> Cc: <cygwin@cygwin.com>
> Sent: Wednesday, February 26, 2003 6:59 AM
> Subject: Re: Process states in cygwin ?
> 
> 
> > "Use the Source, Duke!"
> >
> >       if (p->process_state & PID_STOPPED)
> >         status = 'S';
> >       else if (p->process_state & PID_TTYIN)
> >         status = 'I';
> >       else if (p->process_state & PID_TTYOU)
> >         status = 'O';
> >
> > i.e.: S is stopped, I is input, O is output.
> >
> > (I should say, though, that the last time I answered this questions I
> > looked at the source cross-eyed.. but cgf corrected me :)
> >
> > rlc
> >
> > On Wed, 26 Feb 2003 jurgen.defurne@philips.com wrote:
> >
> > > Hello,
> > >
> > > Can anybody tell me what the meaning is of the process states
> > > 'O' and 'I' when I do ps in a shell ?
> > >
> > > Jurgen
> > >
> > > --
> > > 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/
> >
> 
> 
> 
> --
> 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/

