From owner-freebsd-standards@FreeBSD.ORG Thu Oct 14 17:45:08 2004 Return-Path: Delivered-To: freebsd-standards@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1528116A4CE for ; Thu, 14 Oct 2004 17:45:08 +0000 (GMT) Received: from smtp2.server.rpi.edu (smtp2.server.rpi.edu [128.113.2.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 834C743D7C for ; Thu, 14 Oct 2004 17:45:07 +0000 (GMT) (envelope-from drosih@rpi.edu) Received: from [128.113.24.47] (gilead.netel.rpi.edu [128.113.24.47]) by smtp2.server.rpi.edu (8.13.0/8.13.0) with ESMTP id i9EHj6vH021299; Thu, 14 Oct 2004 13:45:06 -0400 Mime-Version: 1.0 X-Sender: drosih@mail.rpi.edu Message-Id: In-Reply-To: <416EA82F.6060102@kprasad.org> References: <416EA82F.6060102@kprasad.org> Date: Thu, 14 Oct 2004 13:45:05 -0400 To: "Kamal R. Prasad" , freebsd-standards@freebsd.org From: Garance A Drosihn Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-CanItPRO-Stream: default X-RPI-SA-Score: undef - spam-scanning disabled X-Scanned-By: CanIt (www . canit . ca) Subject: Re: ps command X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Oct 2004 17:45:08 -0000 At 9:54 PM +0530 10/14/04, Kamal R. Prasad wrote: > >I see that ps command needs a few additions to be compliant with >IEEE 1003.1-2001 POSIX std. Please confirm if I can provide a >patch that contains the following stuff:- > >-A, -e : write information about all processes >-d : write information about all processes except session leaders >-f : shows command line options , change this to show the fields > UID PID PPID C STIME TTY TIME CMD >-l : add the fields F, S >-g : grouplist : Write information for processes whose session > leaders are given in grouplist. The application shall ensure > that the grouplist is a single argument in the form of a > or comma-separated list. >-G : grouplist : Write information for processes whose real group > ID numbers are given in grouplist. The application shall > ensure that the grouplist is a single argument in the form > of a or comma-separated list. > >I'd appreciate info on who to send the patch to. There is some extensive work done by Cyrille Lefevre, and which was sent in as a PR. I have incorporated some of that work, and plan to incorporate more of it. (although probably not in the exact manner that Cyrille wrote it up). I also have a few updates of my own for `ps', that I need to clean up and commit. I was doing work in May and June. In July I got bogged down with some other matters, and I have not gotten back to `ps' since then, but I do intend to get back to it once 5.3-release is official. At least some of the changes are incompatible with our present `ps' command, so we can't just throw them in and break the behavior that FreeBSD users are used to. For instance, `-G' is already in our version of `ps' which is in the 5.x-branch, due to work done earlier this year. `-A' is also supported, but it is (deliberately) not documented. The *code* for `-g' is also in our source, but it is commented out because it conflicts with the historical definition of `-g' (which has always been supported in FreeBSD, so many people are used to typing it). -- Garance Alistair Drosehn = gad@gilead.netel.rpi.edu Senior Systems Programmer or gad@freebsd.org Rensselaer Polytechnic Institute or drosih@rpi.edu