Mail Archives: cygwin/2003/02/04/11:47:49
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" <cygwin AT laubster DOT org> 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 <http://cygwin.com/packages/>. 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/
- Raw text -