summaryrefslogtreecommitdiffstats
path: root/usr.bin/pkill
AgeCommit message (Expand)AuthorFilesLines
2020-11-14Simplify wording of the matching rules, with help and ok jmc@otto1-12/+10
2019-12-16Delete tests for P_THREAD that predate the existence ofguenther1-7/+4
2019-06-28When system calls indicate an error they return -1, not some arbitraryderaadt1-2/+2
2018-09-16Use uid_from_user(3) and gid_from_group(3) in utilities thatmillert1-7/+7
2018-08-31clarify that patterns are extended regular expressions; ok millert@ phessler@naddy1-3/+3
2017-07-09remove redundant variable declarations in Makefiles, since those areespie1-3/+1
2016-10-10- mark delim variable as const. it is a literal string;gsoares1-20/+17
2016-03-30for some time now mandoc has not required MLINKS to functionjmc1-2/+1
2015-10-11fix a regression spotted by chris@. the -f and -I arguments fetch processderaadt1-5/+10
2015-10-10pkill has to get all the getopt, getpwuid, libkvm stuff out of the wayderaadt1-1/+6
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers wherederaadt1-3/+3
2014-05-07calloc, from peter malonetedu1-3/+2
2013-11-12simpler prototype repairsderaadt1-1/+3
2013-09-22Stop merging the per-thread and per-process flags when reportingguenther1-2/+2
2013-07-16use .Mt for email addresses; from Jan Stary <hans at stare dot cz>; ok jmc@schwarze1-3/+3
2013-06-03sort options list;jmc1-3/+3
2013-06-03-I to confirm pkills. ok manytedu2-30/+67
2012-12-12properly handle the case where a process has disappeared in between grep'inghalex1-12/+22
2012-08-21Missing "-q" in usage().ajacoutot1-3/+3
2012-08-21Sort options.ajacoutot1-8/+8
2012-08-21add -q "silent" option similar to grepespie2-8/+21
2012-07-10make pkill -l print the proper processes also when the invert (-v)halex1-7/+4
2012-04-21Remove a check made superfluous by the KERN_PROC_SHOW_THREADS flag.guenther1-3/+1
2012-04-12Add per thread accounting, mainly for usage & friends.pirofti1-1/+3
2012-03-13Teach pgrep/pkill to only match processes, not threads. ok guenther@sthen1-4/+7
2012-03-01Remove unused variable. Added in 1.20 by me.lum1-6/+2
2012-02-16exit usage() with STATUS_BADUSAGE rather than STATUS_ERROR, per the man page;jmc1-2/+2
2012-02-15avoid usage() warping onto the next line;jmc1-3/+3
2012-02-09restrict pkill/pgrep to the routing domain specified by -T; ok henning@, mpf@markus2-7/+35
2012-01-17Allow pkill to use the -l option. This displays which processes have beenlum2-11/+14
2011-04-10Switch back from KERN_PROC2/kinfo_proc2 to KERN_PROC/kinfo_proc nowguenther1-12/+12
2010-09-29various EXIT STATUS fixes; from Daniel Dickmanjmc1-4/+5
2009-10-27rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andderaadt1-5/+1
2009-07-27document how patterns are matched and that only the first 16 charsjmc1-2/+16
2009-06-07tweak -v; from Tim van der Molenjmc1-4/+4
2009-03-26fix a few typographical errors found by spell(1).sobrado1-4/+4
2008-06-26First pass at removing clauses 3 and 4 from NetBSD licenses.ray2-18/+4
2008-02-11bump Mdocdate for pages committed in "febuary", necessary becausejmc1-2/+2
2008-02-07Add add -o flag to pkill/pgrep like on Solaris and Linux.millert2-16/+35
2007-10-31"signal" is an argument, not a flag;jmc1-4/+4
2007-05-31convert to new .Dd format;jmc1-2/+2
2006-09-19Use S_IS* macros insted of masking with S_IF* flags. The latter mayotto1-3/+3
2005-07-16- basic cleanupjmc1-6/+10
2005-07-16sort options and sync usage();jmc2-24/+24
2005-05-20Don't print an empty line when no match is found in pgrep mode.otto1-3/+3
2005-04-11handle snprintf return value overflow case; ok ottoderaadt1-3/+5
2005-03-27revert r1.9; this one needs more discussionrobert2-15/+9
2005-03-27add a -i option to ignore case distinctions in the process match;robert2-9/+15
2005-03-02Report non-existing user or groupname correctly. From David Brownleeotto1-6/+4
2005-02-11Fix -d option; it should print a newline at EOL, not the specified delimeter.millert1-10/+14