summaryrefslogtreecommitdiffstats
path: root/usr.bin/tset/misc.c
diff options
context:
space:
mode:
authorgad <gad@FreeBSD.org>2004-03-17 22:46:58 +0000
committergad <gad@FreeBSD.org>2004-03-17 22:46:58 +0000
commit5091cee4e6b00274b99c80c60ca89b1bd7f41e08 (patch)
treefb9de08362c8eb0e7bc9290227abffba878261f2 /usr.bin/tset/misc.c
parent436fe9bbc1dd12e4651d30356928ac1a8d427448 (diff)
downloadFreeBSD-src-5091cee4e6b00274b99c80c60ca89b1bd7f41e08.zip
FreeBSD-src-5091cee4e6b00274b99c80c60ca89b1bd7f41e08.tar.gz
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
Diffstat (limited to 'usr.bin/tset/misc.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud