Module Name:src
Committed By: simonb
Date: Sat Oct 29 08:17:16 UTC 2022
Modified Files:
src/usr.bin/pkill: pkill.1 pkill.c
Log Message:
Add a -q option for pgrep to not print anything; similar to grep -q.
To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32
Module Name:src
Committed By: simonb
Date: Sat Oct 29 08:17:16 UTC 2022
Modified Files:
src/usr.bin/pkill: pkill.1 pkill.c
Log Message:
Add a -q option for pgrep to not print anything; similar to grep -q.
To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32
Module Name:src
Committed By: ad
Date: Sat Jul 2 20:50:26 UTC 2022
Modified Files:
src/usr.bin/pkill: pkill.c
Log Message:
Cosmetic tweak. No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 src/usr.bin/pkill/pkill.c
Please note that
Module Name:src
Committed By: ad
Date: Sat Jul 2 20:50:26 UTC 2022
Modified Files:
src/usr.bin/pkill: pkill.c
Log Message:
Cosmetic tweak. No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 src/usr.bin/pkill/pkill.c
Please note that
| this seems like a fairly big semantic change to me.
|
| could you change it to take a new option to look in argv[0] instead
| of p_comm? p_comm is not changeable by the user.
You could already do this with -f. The point was to make the default case
behave intuitively. Adding an option
In article 20121121080326.gl...@snowdrop.l8s.co.uk,
David Laight da...@l8s.co.uk wrote:
On Tue, Nov 20, 2012 at 05:52:02PM -0500, Christos Zoulas wrote:
Module Name: src
Committed By:christos
Date:Tue Nov 20 22:52:02 UTC 2012
Modified Files:
src/usr.bin/pkill:
In article 20121121080326.gl...@snowdrop.l8s.co.uk,
David Laight da...@l8s.co.uk wrote:
On Tue, Nov 20, 2012 at 05:52:02PM -0500, Christos Zoulas wrote:
Module Name: src
Committed By: christos
Date: Tue Nov 20 22:52:02 UTC 2012
Modified Files:
On Nov 22, 4:39am, m...@eterna.com.au (matthew green) wrote:
-- Subject: re: CVS commit: src/usr.bin/pkill
| this seems like a fairly big semantic change to me.
|
| could you change it to take a new option to look in argv[0] instead
| of p_comm? p_comm is not changeable by the user.
You could
On Wed, Nov 21, 2012 at 12:43:20PM -0500, Christos Zoulas wrote:
On Nov 22, 4:39am, m...@eterna.com.au (matthew green) wrote:
-- Subject: re: CVS commit: src/usr.bin/pkill
| this seems like a fairly big semantic change to me.
|
| could you change it to take a new option to look in argv[0
In article 20121121200309.gn...@snowdrop.l8s.co.uk,
David Laight da...@l8s.co.uk wrote:
On Wed, Nov 21, 2012 at 12:43:20PM -0500, Christos Zoulas wrote:
On Nov 22, 4:39am, m...@eterna.com.au (matthew green) wrote:
-- Subject: re: CVS commit: src/usr.bin/pkill
| this seems like a fairly big
On Wed, Nov 21, 2012 at 01:36:01PM -0700, Warner Losh wrote:
Is pkill() guaranteed to do an atomic traversal of the process list?
So it will kill something that keeps using fork() to change its pid.
I don't think our libkvm offers that.
How could you guarantee this short of moving this
On Nov 21, 2012, at 1:55 PM, David Laight wrote:
On Wed, Nov 21, 2012 at 01:36:01PM -0700, Warner Losh wrote:
Is pkill() guaranteed to do an atomic traversal of the process list?
So it will kill something that keeps using fork() to change its pid.
I don't think our libkvm offers that.
On Tue, Nov 20, 2012 at 05:52:02PM -0500, Christos Zoulas wrote:
Module Name: src
Committed By: christos
Date: Tue Nov 20 22:52:02 UTC 2012
Modified Files:
src/usr.bin/pkill: pkill.c
Log Message:
Don't use p_comm since it is only 16 characters long and you can find the
cvs rdiff -u -r1.25 -r1.26 src/usr.bin/pkill/pkill.c
Looks like -l option is necessary for prenice also.
enami.
14 matches
Mail list logo