summaryrefslogtreecommitdiff
path: root/usr.bin/pkill
AgeCommit message (Collapse)Author
2005-07-16- basic cleanupJason McIntyre
- do not use EXIT STATUS (non-standard in section 1)
2005-07-16sort options and sync usage();Jason McIntyre
2005-05-20Don't print an empty line when no match is found in pgrep mode.Otto Moerbeek
ok millert@ robert@
2005-04-11handle snprintf return value overflow case; ok ottoTheo de Raadt
2005-03-27revert r1.9; this one needs more discussionRobert Nagy
2005-03-27add a -i option to ignore case distinctions in the process match;Robert Nagy
From: NetBSD; ok millert@
2005-03-02Report non-existing user or groupname correctly. From David BrownleeOtto Moerbeek
<abs@netbsd>. ok millert@
2005-02-11Fix -d option; it should print a newline at EOL, not the specified delimeter.Todd C. Miller
Problem found and OK by robert@
2004-12-29handle snprintf -1; otto okTheo de Raadt
2004-07-15Don't print a warning if kill(2) returns ESRCH since the process may haveTodd C. Miller
died on its own in the time between when the process list was consulted and when we do the actual kill. This fixes an annoyance for privsep processes (and others) where when you kill one the others die by themselves.
2004-07-15Skip SYSTEM and ourown proccess on every loop.Mike Pechkin
millert@, otto@
2004-07-06add pgrep to .Nm line to allow `apropos/whatis pgrep' to work;Jason McIntyre
2004-06-24When given multiple processes to kill, keep going if we are unable to killTodd C. Miller
one (previously it would error out and not kill the remaining ones). OK deraadt@
2004-03-12knfTheo de Raadt
2004-01-07Convert back to using kvm_getproc2() and friends now that libkvmTodd C. Miller
supports it.
2004-01-06We don't have signal(7)Todd C. Miller
2004-01-06pkill/pgrep from NetBSD with changes to use kvm_getprocs(). SelectingTodd C. Miller
on session ID does not current work but that will change once the kernel supports the KERN_PROC2 sysctl and pkill/pgrep is modified to use kvm_getproc2(). OK deraadt@