freebsd-dev/usr.bin
Brooks Davis 2a243b9539 Switch procstat from subcommand flags to verbs
- Use an enumerated value instead of separate flags for commands
- Look for a verb if no command flag is set
- Lookup the "xocontainer" value based on the command
- Document the new command verbs in the man-page

Submitted by:	kdrakehp@zoho.com
Differential Revision:	https://reviews.freebsd.org/D10916
2017-10-14 18:38:36 +00:00
..
addr2line elftoolchain: Use ${SRCTOP} for the top of the FreeBSD tree 2016-04-21 12:58:29 +00:00
alias
apply Add HAS_TESTS to all Makefiles that are currently using the 2017-08-02 08:50:42 +00:00
ar ar: handle partial writes from archive_write_data 2017-07-24 21:25:49 +00:00
asa
at Use nitems() from sys/param.h 2016-07-30 06:32:18 +00:00
atm Use SRCTOP instead of .CURDIR relative paths with ".." 2017-02-11 20:19:04 +00:00
awk Implement gawk multiple-arg extension to and, or, and xor. 2017-09-14 05:48:23 +00:00
banner banner(6): Squash a harmless coverity warning 2017-04-13 23:22:18 +00:00
basename Add HAS_TESTS to all Makefiles that are currently using the 2017-08-02 08:50:42 +00:00
bc bc/dc/patch: make some use of reallocarray(3). 2017-03-05 16:10:35 +00:00
biff Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
bluetooth Hide struct socket and struct unpcb from the userland. 2017-10-02 23:29:56 +00:00
bmake Import bmake-20170720 2017-07-24 04:38:05 +00:00
brandelf
bsdcat MFV r324145,324147: 2017-10-01 00:40:23 +00:00
bsdiff Revert debugging that was accidently committed in r316314 2017-03-31 03:11:25 +00:00
bzip2 Adopt SRCTOP in usr.bin 2017-03-12 18:58:44 +00:00
bzip2recover Adopt SRCTOP in usr.bin 2017-03-12 18:58:44 +00:00
c89
c99
caesar
calendar calendar: replace strcpy/strcat with asprintf 2017-09-26 11:16:33 +00:00
cap_mkdb Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
chat Delete dead code in chat(8) 2017-01-04 16:24:40 +00:00
chkey Adopt SRCTOP in usr.bin 2017-03-12 18:58:44 +00:00
chpass chpass(1): Check crypt(3) return and handle error appropriately 2017-10-04 01:12:26 +00:00
cksum Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
clang Improve the coverage of debug symbols for MK_DEBUG_FILES. 2017-08-23 23:30:25 +00:00
cmp Add HAS_TESTS to all Makefiles that are currently using the 2017-08-02 08:50:42 +00:00
col Add HAS_TESTS to all Makefiles that are currently using the 2017-08-02 08:50:42 +00:00
colldef Note that mklocale(1) and colldef(1) are no longer used 2016-04-17 23:02:49 +00:00
colrm Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
column Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
comm Add HAS_TESTS to all Makefiles that are currently using the 2017-08-02 08:50:42 +00:00
compile_et Adopt SRCTOP in usr.bin 2017-03-12 18:58:44 +00:00
compress Add HAS_TESTS to all Makefiles that are currently using the 2017-08-02 08:50:42 +00:00
cpio MFV r324145,324147: 2017-10-01 00:40:23 +00:00
cpuset Fix markup for -j in cpuset(1) synopsis 2016-07-29 21:18:20 +00:00
csplit Add HAS_TESTS to all Makefiles that are currently using the 2017-08-02 08:50:42 +00:00
ctags Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
ctlstat Adopt SRCTOP in usr.bin 2017-03-12 18:58:44 +00:00
cut MFhead@r322021 2017-08-03 17:43:26 +00:00
cxxfilt elftoolchain: Use ${SRCTOP} for the top of the FreeBSD tree 2016-04-21 12:58:29 +00:00
dc bc/dc/patch: make some use of reallocarray(3). 2017-03-05 16:10:35 +00:00
diff Add HAS_TESTS to all Makefiles that are currently using the 2017-08-02 08:50:42 +00:00
diff3 Add HAS_TESTS to all Makefiles that are currently using the 2017-08-02 08:50:42 +00:00
dirname Add HAS_TESTS to all Makefiles that are currently using the 2017-08-02 08:50:42 +00:00
dpv
drill Adopt SRCTOP in usr.bin 2017-03-12 18:58:44 +00:00
dtc dtc: Update to upstream 9ce35ff8 2017-06-23 20:21:53 +00:00
du Add supporting changes for Add limited sandbox capability to "make check" 2017-08-14 19:21:37 +00:00
ee Adopt SRCTOP in usr.bin 2017-03-12 18:58:44 +00:00
elf2aout
elfcopy Adopt SRCTOP in usr.bin 2017-03-12 18:58:44 +00:00
elfdump DIRDEPS_BUILD: Update dependencies. 2016-11-13 00:11:30 +00:00
enigma Remove bdes(1) 2017-02-06 08:27:19 +00:00
env Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
expand Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
factor Delete obsolete paragraph; primes(6) is now able to list primes for the 2017-06-04 02:45:18 +00:00
false Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
fetch Add phttpget(8) .Xr to fetch(1). 2016-03-29 11:56:00 +00:00
file Adopt SRCTOP in usr.bin 2017-03-12 18:58:44 +00:00
file2c Add HAS_TESTS to all Makefiles that are currently using the 2017-08-02 08:50:42 +00:00
find Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
finger The variable nargv is allocated but never freed, so free it when the it 2017-06-13 15:50:16 +00:00
fmt Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
fold DIRDEPS_BUILD: Update dependencies. 2017-05-09 01:48:23 +00:00
fortune strcpy => strlcpy, strcat => strlcat 2017-04-04 19:46:23 +00:00
from Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
fstat fstat: catch up with r318997 and use 64 bits to store fsid 2017-06-10 20:38:52 +00:00
fsync
ftp Adopt SRCTOP in usr.bin 2017-03-12 18:58:44 +00:00
gcore Add a NT_ARM_VFP ELF core note to hold VFP registers for each thread. 2017-09-14 15:07:48 +00:00
gencat Rename getline with get_line to avoid collision with getline(3) 2016-05-10 11:12:31 +00:00
getaddrinfo DIRDEPS_BUILD: Connect new directories. 2017-05-09 01:48:14 +00:00
getconf Add an -a flag to getconf. 2017-09-15 22:55:15 +00:00
getent Document getent(1)'s ability to enumerate netgroup members. 2016-06-04 21:34:06 +00:00
getopt DIRDEPS_BUILD: Update dependencies. 2016-11-13 00:11:30 +00:00
gprof Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
grdc
grep fastmatch.h: remove duplicate #defines 2017-09-15 13:34:00 +00:00
gzip Add HAS_TESTS to all Makefiles that are currently using the 2017-08-02 08:50:42 +00:00
head Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
hesinfo
hexdump hexdump: Remove expected test failures for now succeeding tests 2017-10-04 18:11:00 +00:00
host Adopt SRCTOP in usr.bin 2017-03-12 18:58:44 +00:00
iconv DIRDEPS_BUILD: Update dependencies. 2017-05-09 01:48:23 +00:00
id Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
ident Add HAS_TESTS to all Makefiles that are currently using the 2017-08-02 08:50:42 +00:00
indent Add supporting changes for Add limited sandbox capability to "make check" 2017-08-14 19:21:37 +00:00
ipcrm Adopt SRCTOP in usr.bin 2017-03-12 18:58:44 +00:00
ipcs
iscsictl Adopt SRCTOP in usr.bin 2017-03-12 18:58:44 +00:00
join Add HAS_TESTS to all Makefiles that are currently using the 2017-08-02 08:50:42 +00:00
jot Add HAS_TESTS to all Makefiles that are currently using the 2017-08-02 08:50:42 +00:00
kdump We use a few different ifdef's names to check if we are using Casper or not, 2017-09-21 14:41:41 +00:00
keylogin
keylogout
killall
ktrace Improve the ktrace(1) man page to make it slightly more obvious that there 2017-07-24 16:58:54 +00:00
ktrdump Provide an error message if KTR symbols in a vmcore cannot be resolved. 2017-09-11 15:18:43 +00:00
lam DIRDEPS_BUILD: Update dependencies. 2017-05-09 01:48:23 +00:00
last Fix a memory leak with last 2017-06-02 20:25:25 +00:00
lastcomm Add HAS_TESTS to all Makefiles that are currently using the 2017-08-02 08:50:42 +00:00
ldd o Replace __riscv__ with __riscv 2017-08-07 14:09:57 +00:00
leave Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
less MFV r317581: less v491. 2017-05-05 14:33:39 +00:00
lessecho Adopt SRCTOP in usr.bin 2017-03-12 18:58:44 +00:00
lesskey Adopt SRCTOP in usr.bin 2017-03-12 18:58:44 +00:00
lex Adopt SRCTOP in usr.bin 2017-03-12 18:58:44 +00:00
limits Add HAS_TESTS to all Makefiles that are currently using the 2017-08-02 08:50:42 +00:00
locale Adopt SRCTOP in usr.bin 2017-03-12 18:58:44 +00:00
localedef Mark errf _Noreturn, and mark errf and warn __printflike 2017-05-14 18:47:09 +00:00
locate Revert prior commit to restore the files mangled by my "fixing" merge 2017-03-01 02:10:40 +00:00
lock Correct sense of crypt(3) NULL checks in init(8) and lock(1) 2017-10-03 00:53:11 +00:00
lockf
logger Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
login Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
logins
logname Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
look Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
lorder Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
lsvfs
lzmainfo Adopt SRCTOP in usr.bin 2017-03-12 18:58:44 +00:00
m4 Add HAS_TESTS to all Makefiles that are currently using the 2017-08-02 08:50:42 +00:00
mail Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
man man(1): silent the output of mandoc when testing 2017-09-29 07:44:48 +00:00
mandoc Update mandoc to 1.14.2 2017-07-31 19:34:38 +00:00
mesg Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
minigzip Adopt SRCTOP in usr.bin 2017-03-12 18:58:44 +00:00
ministat DIRDEPS_BUILD: Update dependencies. 2017-05-09 01:48:23 +00:00
mkcsmapper Adopt SRCTOP in usr.bin 2017-03-12 18:58:44 +00:00
mkcsmapper_static Adopt SRCTOP in usr.bin 2017-03-12 18:58:44 +00:00
mkdep Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
mkesdb Set usage() to show -d flag 2017-08-12 15:51:46 +00:00
mkesdb_static Adopt SRCTOP in usr.bin 2017-03-12 18:58:44 +00:00
mkfifo Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
mkimg Add HAS_TESTS to all Makefiles that are currently using the 2017-08-02 08:50:42 +00:00
mklocale Adopt SRCTOP in usr.bin 2017-03-12 18:58:44 +00:00
mkstr Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
mktemp Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
mkuzip Doh, fix some botched "fix" in r320277. 2017-06-23 23:11:05 +00:00
morse
msgs Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
mt Add historical notes on QIC tape drives and fix a couple of issues in mt(1). 2017-08-11 18:43:52 +00:00
nc Adopt SRCTOP in usr.bin 2017-03-12 18:58:44 +00:00
ncal Add HAS_TESTS to all Makefiles that are currently using the 2017-08-02 08:50:42 +00:00
netstat Hide struct socket and struct unpcb from the userland. 2017-10-02 23:29:56 +00:00
newgrp Remove useless calls to basename(). 2016-05-01 08:22:11 +00:00
newkey Squelch clang 3.9.0 warnings about BASE (which is 32768) being converted 2016-08-30 19:02:15 +00:00
nfsstat Add RPC count reporting for the two new RPCs added by r320322. 2017-06-24 20:09:23 +00:00
nice Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
nl Remove another occurence of _WITH_GETLINE 2016-07-31 19:02:19 +00:00
nm elftoolchain: Use ${SRCTOP} for the top of the FreeBSD tree 2016-04-21 12:58:29 +00:00
nohup Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
numactl Don't repeat the the word 'the' 2016-05-17 12:52:31 +00:00
number
opieinfo Adopt SRCTOP in usr.bin 2017-03-12 18:58:44 +00:00
opiekey Adopt SRCTOP in usr.bin 2017-03-12 18:58:44 +00:00
opiepasswd Adopt SRCTOP in usr.bin 2017-03-12 18:58:44 +00:00
pagesize Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
pamtest Adopt SRCTOP in usr.bin 2017-03-12 18:58:44 +00:00
passwd Convert absolute links to relative links. 2017-03-07 05:10:38 +00:00
paste Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
patch patch(1): Don't overrun line buffer in some cases 2017-10-09 14:50:02 +00:00
pathchk Add -P to pathchk usage 2016-07-09 04:56:28 +00:00
perror Remove spaces at end of line 2017-02-11 23:45:50 +00:00
pom DIRDEPS_BUILD: Update dependencies. 2017-05-09 01:48:23 +00:00
pr Add HAS_TESTS to all Makefiles that are currently using the 2017-08-02 08:50:42 +00:00
primes Using results from 2017-06-04 02:36:37 +00:00
printenv Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
printf Add HAS_TESTS to all Makefiles that are currently using the 2017-08-02 08:50:42 +00:00
proccontrol Use MAN=<empty> rather than MK_MAN=no to not install a manpage. 2017-05-02 21:09:07 +00:00
procstat Switch procstat from subcommand flags to verbs 2017-10-14 18:38:36 +00:00
protect
quota Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
random Fix a (false positive?) Argument cannot be negative coverity defect. 2016-06-08 02:14:05 +00:00
rctl Use proper capitalization with .Dd. 2017-06-01 15:03:43 +00:00
readelf Adopt SRCTOP in usr.bin 2017-03-12 18:58:44 +00:00
renice Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
resizewin Improve terminology in a comment. 2017-06-26 16:08:28 +00:00
rev Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
revoke Remove empty space at EOL and escept Ed 2017-02-11 23:39:56 +00:00
rpcgen rpcgen(1): Check getrlimit() return for generated code. 2017-01-12 14:44:41 +00:00
rpcinfo strcpy => strlcpy, strcat => strlcat 2017-04-04 19:46:23 +00:00
rs Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
rup Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
ruptime rwho/ruptime/rwhod shouldn't be gated by RCMDS. 2017-08-08 20:17:07 +00:00
rusers Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
rwall Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
rwho rwho/ruptime/rwhod shouldn't be gated by RCMDS. 2017-08-08 20:17:07 +00:00
script Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
sdiff Add HAS_TESTS to all Makefiles that are currently using the 2017-08-02 08:50:42 +00:00
sdiotool Make basic Broadcom I/O space reading functions work 2017-09-18 20:01:01 +00:00
sed Add HAS_TESTS to all Makefiles that are currently using the 2017-08-02 08:50:42 +00:00
send-pr
seq Update history. Patch supplied by Sevan Janiyan <venture37@geeklan.co.uk>. 2016-09-16 14:23:16 +00:00
setchannel
shar Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
showmount Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
size elftoolchain: Use ${SRCTOP} for the top of the FreeBSD tree 2016-04-21 12:58:29 +00:00
smbutil Adopt SRCTOP in usr.bin 2017-03-12 18:58:44 +00:00
sockstat Hide struct socket and struct unpcb from the userland. 2017-10-02 23:29:56 +00:00
soelim Add HAS_TESTS to all Makefiles that are currently using the 2017-08-02 08:50:42 +00:00
sort sort(1): Remove unneeded initializations. 2017-02-17 19:53:20 +00:00
split Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
ssh-copy-id
stat Add HAS_TESTS to all Makefiles that use the SUBDIR.${MK_TESTS}+= tests idiom 2017-08-02 08:14:06 +00:00
stdbuf stdbuf(1): Add buffer definition "B" to the usage message 2017-07-08 17:08:42 +00:00
strings elftoolchain: Use ${SRCTOP} for the top of the FreeBSD tree 2016-04-21 12:58:29 +00:00
su Mute gcc warning about p not being possibly initialized 2017-10-10 15:41:35 +00:00
svn Remove redundant source and object files. 2017-09-09 13:18:32 +00:00
systat Hide struct socket and struct unpcb from the userland. 2017-10-02 23:29:56 +00:00
tabs
tail Unbreak :broken_pipe 2017-09-09 06:24:21 +00:00
talk Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
tar MFV r324145,324147: 2017-10-01 00:40:23 +00:00
tcopy Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
tee Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
telnet Adopt SRCTOP in usr.bin 2017-03-12 18:58:44 +00:00
tests Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installed 2016-05-04 23:20:53 +00:00
tftp Adopt SRCTOP in usr.bin 2017-03-12 18:58:44 +00:00
time Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
timeout Add HAS_TESTS to all Makefiles that are currently using the 2017-08-02 08:50:42 +00:00
tip Add basic example to the cu(1) man page. Srsly, folks, you don't 2017-04-22 09:38:43 +00:00
top Enhance top(1) to filter on multiple usernames 2017-08-07 08:45:08 +00:00
touch Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
tput Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
tr Add HAS_TESTS to all Makefiles that are currently using the 2017-08-02 08:50:42 +00:00
true Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
truncate Add HAS_TESTS to all Makefiles that are currently using the 2017-08-02 08:50:42 +00:00
truss truss: mention 'H' in usage 2017-10-13 13:47:55 +00:00
tset The memory assigned to the local variable 'copy' needs to be freed. 2017-06-06 21:40:35 +00:00
tsort Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
tty Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
ul Do not truncate lines longer than 512 chars. 2016-07-11 08:05:46 +00:00
uname - Add a simple example to uname(1) manual page to show how the hardware 2017-05-31 03:44:31 +00:00
unexpand Fix some cases where an index was used before its limits check. 2017-04-29 06:41:51 +00:00
unifdef
uniq Add HAS_TESTS to all Makefiles that are currently using the 2017-08-02 08:50:42 +00:00
units Add supporting changes for Add limited sandbox capability to "make check" 2017-08-14 19:21:37 +00:00
unvis Adopt SRCTOP in usr.bin 2017-03-12 18:58:44 +00:00
unzip Add missing section after .Xr reference 2017-02-11 23:37:48 +00:00
usbhidaction
usbhidctl
users Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
uudecode Add HAS_TESTS to all Makefiles that are currently using the 2017-08-02 08:50:42 +00:00
uuencode Add HAS_TESTS to all Makefiles that are currently using the 2017-08-02 08:50:42 +00:00
vacation Adopt SRCTOP in usr.bin 2017-03-12 18:58:44 +00:00
vgrind Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
vi Adopt SRCTOP in usr.bin 2017-03-12 18:58:44 +00:00
vis Adopt SRCTOP in usr.bin 2017-03-12 18:58:44 +00:00
vmstat vmstat: Always emit a space after the free-memory column 2017-08-08 12:18:11 +00:00
vtfontcvt vtfontcvt: remove superfluous newlines in errx messages 2016-09-14 18:22:12 +00:00
w Fix singular/plural "users" output. 2017-07-27 14:34:57 +00:00
wall Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
wc Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
what Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
whereis usr.bin: minor spelling fixes on comments. 2016-05-01 16:13:05 +00:00
which which(1): sort #includes 2017-04-19 19:55:38 +00:00
who Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
whois Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
write Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
xargs Add HAS_TESTS to all Makefiles that are currently using the 2017-08-02 08:50:42 +00:00
xinstall xinstall: plug an infinite loop in directory creation 2017-10-12 13:59:23 +00:00
xlint o Replace __riscv__ with __riscv 2017-08-07 14:09:57 +00:00
xo Add HAS_TESTS to all Makefiles that are currently using the 2017-08-02 08:50:42 +00:00
xohtml Update from libxo-0.8.1 to 0.8.4: 2017-08-03 15:47:42 +00:00
xolint Merge libxo-0.8.2: 2017-06-16 06:29:21 +00:00
xopo Merge libxo-0.8.2: 2017-06-16 06:29:21 +00:00
xstr Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
xz Adopt SRCTOP in usr.bin 2017-03-12 18:58:44 +00:00
xzdec Adopt SRCTOP in usr.bin 2017-03-12 18:58:44 +00:00
yacc Add HAS_TESTS to all Makefiles that are currently using the 2017-08-02 08:50:42 +00:00
yes style(9) fixes. 2017-06-13 16:19:32 +00:00
ypcat
ypmatch
ypwhich Adopt SRCTOP in usr.bin 2017-03-12 18:58:44 +00:00
zstd DIRDEPS_BUILD: Connect new directories. 2017-05-09 01:48:14 +00:00
Makefile Remove rcmds. 2017-10-06 08:43:14 +00:00
Makefile.amd64
Makefile.arm
Makefile.i386
Makefile.inc
Makefile.powerpc
Makefile.sparc64