Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-05-07 | calloc, from peter malone | Ted Unangst | |
2013-11-12 | simpler prototype repairs | Theo de Raadt | |
2013-09-22 | Stop merging the per-thread and per-process flags when reporting | Philip Guenther | |
them via sysctl(KERN_PROC). In struct kinfo_proc the per-process flags move to p_psflags, leaving the per-thread flags in p_flags. Flag descriptions in ps(1) updated to be less obtuse. discussed with matthew@ some time ago; ok jca@, manpage bits ok jmc@ | |||
2013-07-16 | use .Mt for email addresses; from Jan Stary <hans at stare dot cz>; ok jmc@ | Ingo Schwarze | |
2013-06-03 | sort options list; | Jason McIntyre | |
2013-06-03 | -I to confirm pkills. ok many | Ted Unangst | |
2012-12-12 | properly handle the case where a process has disappeared in between grep'ing | Alexander Hall | |
and printing it discussed with and ok millert@ | |||
2012-08-21 | Missing "-q" in usage(). | Antoine Jacoutot | |
ok espie@ | |||
2012-08-21 | Sort options. | Antoine Jacoutot | |
"obviously okay" espie@ | |||
2012-08-21 | add -q "silent" option similar to grep | Marc Espie | |
okay ajacoutot@, guenther@ | |||
2012-07-10 | make pkill -l print the proper processes also when the invert (-v) | Alexander Hall | |
flag is passed ok lum@ | |||
2012-04-21 | Remove a check made superfluous by the KERN_PROC_SHOW_THREADS flag. | Philip Guenthe | |
This lets new binaries work (at least w/o the -H option) with old kernels. ok pirofti@ deraadt@ | |||
2012-04-12 | Add per thread accounting, mainly for usage & friends. | Paul Irofti | |
This expands the already bloated FILL_KPROC macro to take an extra parameter that indicates if the callee is a thread or a process. The userland bits are adjusted accordingly and ps(1) and top(1) now display per thread usage times when -H is used. Also pkill(1) had to be adjusted so that duplicates don't pop up. libkvm does basically the same thing as the kernel bits. Okay guenther@. | |||
2012-03-13 | Teach pgrep/pkill to only match processes, not threads. ok guenther@ | Stuart Henderson | |
2012-03-01 | Remove unused variable. Added in 1.20 by me. | lum | |
2012-02-16 | exit usage() with STATUS_BADUSAGE rather than STATUS_ERROR, per the man page; | Jason McIntyre | |
fix proposed by lum actually happened in netbsd -r1.16, some 6 years ago; ok lum | |||
2012-02-15 | avoid usage() warping onto the next line; | Jason McIntyre | |
2012-02-09 | restrict pkill/pgrep to the routing domain specified by -T; ok henning@, mpf@ | Markus Friedl | |
2012-01-17 | Allow pkill to use the -l option. This displays which processes have been | lum | |
signalled using the "Long" format, like pgrep. Original diff from FreeBSD, modified somewhat on tech@, with feedback from nicm@ Man page input from jmc@ | |||
2011-04-10 | Switch back from KERN_PROC2/kinfo_proc2 to KERN_PROC/kinfo_proc now | Philip Guenthe | |
that we've got name we want for the API we want "ZAP!" deraadt@ | |||
2010-09-29 | various EXIT STATUS fixes; from Daniel Dickman | Jason McIntyre | |
2009-10-28 | rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and | Theo de Raadt | |
unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms | |||
2009-07-27 | document how patterns are matched and that only the first 16 chars | Jason McIntyre | |
are tracked to match the command name; pointed out by fgsch diff adapted from text from gad@freebsd ok fgsch sobrado millert | |||
2009-06-07 | tweak -v; from Tim van der Molen | Jason McIntyre | |
2009-03-26 | fix a few typographical errors found by spell(1). | Igor Sobrado | |
ok dtucker@, jmc@ | |||
2008-06-26 | First pass at removing clauses 3 and 4 from NetBSD licenses. | Ray Lai | |
Not sure what's more surprising: how long it took for NetBSD to catch up to the rest of the BSDs (including UCB), or the amount of code that NetBSD has claimed for itself without attributing to the actual authors. OK deraadt@ | |||
2008-02-11 | bump Mdocdate for pages committed in "febuary", necessary because | Jason McIntyre | |
of a typo in rcs.c; | |||
2008-02-07 | Add add -o flag to pkill/pgrep like on Solaris and Linux. | Todd C. Miller | |
OK jmc@ henning@ oga@ mikeb@ | |||
2007-10-31 | "signal" is an argument, not a flag; | Jason McIntyre | |
originally requested by sobrado, and now Pierre Riteau | |||
2007-05-31 | convert to new .Dd format; | Jason McIntyre | |
2006-09-19 | Use S_IS* macros insted of masking with S_IF* flags. The latter may | Otto Moerbeek | |
have multiple bits set, which lead to surprising results. Spotted by Paul Stoeber, more to come. ok millert@ pedro@ jaredy@ djm@ | |||
2005-07-16 | - basic cleanup | Jason McIntyre | |
- do not use EXIT STATUS (non-standard in section 1) | |||
2005-07-16 | sort options and sync usage(); | Jason McIntyre | |
2005-05-20 | Don't print an empty line when no match is found in pgrep mode. | Otto Moerbeek | |
ok millert@ robert@ | |||
2005-04-11 | handle snprintf return value overflow case; ok otto | Theo de Raadt | |
2005-03-27 | revert r1.9; this one needs more discussion | Robert Nagy | |
2005-03-27 | add a -i option to ignore case distinctions in the process match; | Robert Nagy | |
From: NetBSD; ok millert@ | |||
2005-03-02 | Report non-existing user or groupname correctly. From David Brownlee | Otto Moerbeek | |
<abs@netbsd>. ok millert@ | |||
2005-02-11 | Fix -d option; it should print a newline at EOL, not the specified delimeter. | Todd C. Miller | |
Problem found and OK by robert@ | |||
2004-12-29 | handle snprintf -1; otto ok | Theo de Raadt | |
2004-07-15 | Don't print a warning if kill(2) returns ESRCH since the process may have | Todd 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-15 | Skip SYSTEM and ourown proccess on every loop. | Mike Pechkin | |
millert@, otto@ | |||
2004-07-06 | add pgrep to .Nm line to allow `apropos/whatis pgrep' to work; | Jason McIntyre | |
2004-06-24 | When given multiple processes to kill, keep going if we are unable to kill | Todd C. Miller | |
one (previously it would error out and not kill the remaining ones). OK deraadt@ | |||
2004-03-12 | knf | Theo de Raadt | |
2004-01-07 | Convert back to using kvm_getproc2() and friends now that libkvm | Todd C. Miller | |
supports it. | |||
2004-01-06 | We don't have signal(7) | Todd C. Miller | |
2004-01-06 | pkill/pgrep from NetBSD with changes to use kvm_getprocs(). Selecting | Todd 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@ |