freebsd-skq/bin/ps
gad 2b815e77ed 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 does not get us to match POSIX/SUSv3, but it gets us closer.  The
`-g pgidlist', `-R ruserlist' and `-s sidlist' options mentioned in
freebsd-standards are still under debate, so they skipped for now.
It should be true that this introduces no user-visible incompatible
changes, except to support "new stuff" that was not supported before.
2004-03-27 18:22:17 +00:00
..
extern.h Implement the nwchan keyword that has been in the man page, but was 2003-08-13 07:35:07 +00:00
fmt.c Fix long constant usage for i386. 2003-05-03 20:52:48 +00:00
keyword.c MFp4 @46705: 2004-02-08 23:57:19 +00:00
Makefile style.Makefile: 2004-02-23 20:05:14 +00:00
nlist.c Display elapsed time (-o etime) using [[dd-]hh:]mm:ss, which according to 2003-02-05 13:18:17 +00:00
print.c Implement the nwchan keyword that has been in the man page, but was 2003-08-13 07:35:07 +00:00
ps.1 Support more POSIX/SUSv3 options: 2004-03-27 18:22:17 +00:00
ps.c Support more POSIX/SUSv3 options: 2004-03-27 18:22:17 +00:00
ps.h Display residency and sleep times (re and sl fields) larger than 127 as 127. 2003-04-12 10:39:56 +00:00