NetBSD Problem Report #11222

Received: (qmail 8427 invoked from network); 14 Oct 2000 16:28:52 -0000
Message-Id: <Pine.SOL.4.21.0010141708220.3055-100000@draco.cus.cam.ac.uk>
Date: Sat, 14 Oct 2000 17:28:48 +0100 (BST)
From: Ben Harris <bjh21@netbsd.org>
Sender: Ben Harris <bjh21@cus.cam.ac.uk>
To: gnats-bugs@gnats.netbsd.org
Subject: POSIX.2: ps -p etc don't take lists

>Number:         11222
>Category:       standards
>Synopsis:       POSIX.2: ps -p etc don't take lists
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    simonb
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Oct 14 16:29:00 +0000 2000
>Closed-Date:    
>Last-Modified:  Sun Oct 15 01:18:31 +0000 2000
>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:
Responsible-Changed-From-To: standards-manager->simonb 
Responsible-Changed-By: simonb 
Responsible-Changed-When: Sat Oct 14 18:18:09 PDT 2000 
Responsible-Changed-Why:  
I'll take care of this one. 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.