delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/02/26/06:47:34

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-Authentication-Warning: localhost.localdomain: ronald owned process doing -bs
Date: Wed, 26 Feb 2003 12:59:05 +0100 (CET)
From: Ronald Landheer-Cieslak <ronald AT landheer DOT com>
X-X-Sender: ronald AT localhost DOT localdomain
To: jurgen DOT defurne AT philips DOT com
cc: cygwin AT cygwin DOT com
Subject: Re: Process states in cygwin ?
In-Reply-To: <OF9EBB358D.2CFE1499-ON41256CD9.00366B01-C1256CD9.0036A41F@diamond.philips.com>
Message-ID: <Pine.LNX.4.44.0302261257060.25231-100000@localhost.localdomain>
MIME-Version: 1.0

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

- Raw text -


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