delorie.com/archives/browse.cgi | search |
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 |
Message-ID: | <013b01c2dd91$ae4614a0$0201a8c0@sos> |
From: | "Sergey Okhapkin" <sos AT sokhapkin DOT dyndns DOT org> |
To: | "Ronald Landheer-Cieslak" <ronald AT landheer DOT com>, |
<jurgen DOT defurne AT philips DOT com> | |
Cc: | <cygwin AT cygwin DOT com> |
References: | <Pine DOT LNX DOT 4 DOT 44 DOT 0302261257060 DOT 25231-100000 AT localhost DOT localdomain> |
Subject: | Re: Process states in cygwin ? |
Date: | Wed, 26 Feb 2003 07:22:07 -0500 |
X-Priority: | 3 |
X-MSMail-Priority: | Normal |
X-MimeOLE: | Produced By Microsoft MimeOLE V6.00.2600.0000 |
Probably else status = 'R'; //running would be a good idea then? Sergey Okhapkin Somerset, NJ ----- Original Message ----- From: "Ronald Landheer-Cieslak" <ronald AT landheer DOT com> To: <jurgen DOT defurne AT philips DOT com> Cc: <cygwin AT cygwin DOT 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 DOT defurne AT philips DOT 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |