Subject: standards/11222: POSIX.2: ps -p etc don't take lists
To: None <gnats-bugs@gnats.netbsd.org>
From: Ben Harris <bjh21@netbsd.org>
List: netbsd-bugs
Date: 10/14/2000 09:29:09
>Number: 11222
>Category: standards
>Synopsis: POSIX.2: ps -p etc don't take lists
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: standards-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Oct 14 09:29:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator: Ben Harris
>Release: 2000-02-07
>Organization:
>Environment:
NetBSD cromarty 1.4X NetBSD 1.4X (CROMARTY) #9: Wed May 3 23:49:51 BST 2000
bjh21@cromarty:/usr/src/sys/arch/macppc/compile/CROMARTY macppc
>Description:
According to POSIX.2, the -p, -t and -U options to ps should all take
blank- or colon-separated lists of values as arguments. None of them
does.
>How-To-Repeat:
cromarty:~$ ps -p 1,2,3
ps: proc size mismatch (776 total, 696 chunks).
Warning: /proc does not provide valid data for all fields.
PID TT STAT TIME COMMAND
1 ?? ?<s 0:00.69 init
cromarty:~$ ps -p 2,3
ps: proc size mismatch (776 total, 696 chunks).
Warning: /proc does not provide valid data for all fields.
PID TT STAT TIME COMMAND
2 ?? ?<s+ 0:00.19 (usb0)
cromarty:~$ ps -U root,bjh21
ps: root,bjh21: illegal user name
cromarty:~$ ps -t 'p0 p1'
ps: /dev/ttyp0 p1: No such file or directory
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: