Subject: Re: standards/17497: POSIX.1-2001: ps -A not supported
To: Simon Burge <>
From: Ben Harris <>
List: netbsd-bugs
Date: 07/07/2002 11:02:02
On Sun, 7 Jul 2002, Simon Burge wrote:

> On Sat, Jul 06, 2002 at 11:39:21PM +0100, Ben Harris wrote:
> > >Number:         17497
> > >Category:       standards
> >
> > POSIX.1-2001 (and probably POSIX.2-1992) specifies the following option
> > for ps:
> >
> >     -A  Write information for all processes.
> Err, SUSv3 lists a few options that we don't implement, and some that
> cross over between SysV ps and BSD ps.

That's why I said "POSIX".  The POSIX.1-2001 version of ps (i.e. IEEE
1003.1-2001 without the XSI option) should't have any conflicts with our
one.  Unfortunately, because of the way the shading is done in
1003.1-2001, it's a bit hard to see, but the POSIX synopsis boils down to:

ps [-aA] [-G grouplist] [-o format] [-p proclist] [-t termlist]
   [-U userlist]

I would never suggest that we should implement the XSI version of ps.

Ben Harris                                                   <>
Portmaster, NetBSD/acorn26           <URL:>