Saturday, March 01, 2014

pkill : regex

http://linux.die.net/man/1/pkill

if we have some process like:

...... /usr/bin/valgrind --gen-suppressions=all ......

then:

$ pkill -f .*valgrind

[Note] seems killall can not kill valgrind event with regex
[Note] The process name used for matching is limited to the 15 characters present in the output of /proc/pid/stat.


No comments:

Related Posts Plugin for WordPress, Blogger...