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-Authentication-Warning: localhost.localdomain: ronald owned process doing -bs Date: Tue, 4 Feb 2003 17:54:37 +0100 (CET) From: Ronald Landheer-Cieslak X-X-Sender: ronald AT localhost DOT localdomain To: "Andrew M. Inggs" cc: cygwin AT cygwin DOT com Subject: Re: extraneous 'I' in ps output In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Hello all, AFAICT, the I stands for "idle" and this is correct output. In any case, it is the process status (have a look at the source - it is in the cygwin package, under the winsup/utils directory (ps.cc) The ps is not entirely OpenUnix or POSIX compliant (but I'm sure the maintainer (cgf?) will gratefully accept patches) but AFAICT this is expected behaviour. If this is posing a problem for one of your scripts, you might want to consider making the script a bit sturdier :) rlc On Tue, 4 Feb 2003, Andrew M. Inggs wrote: > "J.D. Laub" wrote in message > news:<20030204154222 DOT GA3915 AT aberdeen DOT fpcc DOT net>... > > Here's a simple test case that shows the behavior I'm seeing: > > $ dummy=`ps > /tmp/foo` > > $ cat /tmp/foo > > PID PPID PGID WINPID TTY UID STIME COMMAND > > I 1268 1 1268 1268 con 12917 07:42:04 /usr/bin/bash > > 1388 1268 1268 1388 con 12917 07:42:19 /usr/bin/bash > > 1408 1388 1408 1332 con 12917 07:42:20 /usr/bin/ps > > > > Anytime ps is called from command substitution, an 'I' gets > > prepended to the line for the top shell. > > > I see this too (cygwin-1.3.19-1). > > > ps isn't in its own package, and I can't find docs on where to > > look to find out in which package it was delivered. > > I can help you there, try . It > helps to narrow things down if you give a bit more than just > the filename, e.g., usr/bin/ps (note: no leading / though). > >From here you'll see ps is in the cygwin package. > > -- Andrew > > > > > -- > 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/