提交 80be1d5f 编写于 作者: L Lucas Meneghel Rodrigues

cfg: Fix tcpdump kill command to work on a wider variety of hosts

Using 'pkill -9 tcpdump' works on both new and older
distros.
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
上级 778ec386
......@@ -3,7 +3,7 @@
migration_test_command = help
migration_bg_command = "cd /tmp; nohup tcpdump -q -i any -t ip host localhost"
migration_bg_check_command = pgrep tcpdump
migration_bg_kill_command = pkill --signal 9 tcpdump
migration_bg_kill_command = pkill -9 tcpdump
kill_vm_on_error = yes
iterations = 2
used_mem = 1024
......
......@@ -17,7 +17,7 @@
migration_test_command = help
migration_bg_command = "cd /tmp; nohup tcpdump -q -i any -t ip host localhost"
migration_bg_check_command = pgrep tcpdump
migration_bg_kill_command = pkill --signal 9 tcpdump
migration_bg_kill_command = pkill -9 tcpdump
kill_vm_on_error = yes
iterations = 2
used_mem = 1024
......
......@@ -43,7 +43,7 @@
migration_test_command = help
#migration_bg_command = "cd /tmp; nohup tcpdump -q -i any -t ip host localhost"
#migration_bg_check_command = pgrep tcpdump
#migration_bg_kill_command = pkill --signal 9 tcpdump
#migration_bg_kill_command = pkill -9 tcpdump
kill_vm_on_error = yes
iterations = 2
used_mem = 1024
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册