freebsd-skq/bin/ps
gad 5091cee4e6 Improvements to 'ps -p <x>'. If <x> is a process id that does not exist, then
just print the header (if any) and exit, thus matching the behavior on -stable
and other OS's.

Also adds support for <x> being a comma-separated list of processes, and does
a much better checking for invalid-values of <x>, such as 'ps -p someword'.

Reviewed by:	mentioned on freebsd-current
MFC after:	10 days
2004-03-17 22:46:58 +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 Improvements to 'ps -p <x>'. If <x> is a process id that does not exist, then 2004-03-17 22:46:58 +00:00
ps.c Improvements to 'ps -p <x>'. If <x> is a process id that does not exist, then 2004-03-17 22:46:58 +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