From owner-cvs-all@FreeBSD.ORG Sun Apr 4 10:03:40 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 96D3C16A4CE; Sun, 4 Apr 2004 10:03:40 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9123C43D1F; Sun, 4 Apr 2004 10:03:40 -0700 (PDT) (envelope-from gad@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.10/8.12.10) with ESMTP id i34H3eGe067438; Sun, 4 Apr 2004 10:03:40 -0700 (PDT) (envelope-from gad@repoman.freebsd.org) Received: (from gad@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id i34H3eQX067437; Sun, 4 Apr 2004 10:03:40 -0700 (PDT) (envelope-from gad) Message-Id: <200404041703.i34H3eQX067437@repoman.freebsd.org> From: Garance A Drosehn Date: Sun, 4 Apr 2004 10:03:40 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_4 Subject: cvs commit: src/bin/ps ps.1 ps.c ps.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Apr 2004 17:03:40 -0000 gad 2004/04/04 10:03:40 PDT FreeBSD src repository Modified files: (Branch: RELENG_4) bin/ps ps.1 ps.c ps.h Log: MFC *: Support more POSIX/SUSv3 options: - Change `-p' to allow a list of process IDs, and `-t' to allow a list of terminal names, instead of only a single value for each. - Add the `-A' option of SUSv3, which is exactly the same as `-ax'. - Add the `-G gidlist' (group id). - Allow any of these "selector options" to be specified multiple times, and have `ps' keep adding to a given list -- instead of replacing the previously-specified values. - Fix interactions between selector-options, so that: "If any are specified, ... ps shall select the processes represented by the inclusive OR of all the selection-criteria options." (from SUSv3) - Add a `-X' option, which is the reverse of the `-x' option. - various minor improvements in parsing and error handling. This should result in no user-visible changes, except for adding the new features. The man page is updated to describe the new features, and to describe the sorting options in better and more complete detail. [* = 1.67 1.72 1.76->1.79 1.84 & 1.85 ps.c, 1.71->1.74 ps.1] Approved by: re(scottl) Revision Changes Path 1.24.2.11 +102 -19 src/bin/ps/ps.1 1.30.2.11 +560 -194 src/bin/ps/ps.c 1.7.2.2 +4 -0 src/bin/ps/ps.h