bugfix of pingtrace scripts

bugfix https://gitee.com/anolis/sysom/issues/I4VKGF

Signed-off-by: huangtuq <tuquanhuang@linux.alibaba.com>
This commit is contained in:
huangtuq 2022-03-01 09:47:59 +08:00
parent 370dc701c2
commit 0718bdd6be
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ result['commands'] = []
cmd0_arg = int(int(args["追踪包数"]) * int(args["间隔毫秒数"]) / 1000) + 5
cmd0 = {}
cmd0['instance'] = args["源实例IP"]
cmd0['cmd'] = "sysak pingtrace -s -t "+str(cmd0_arg)+" &"
cmd0['cmd'] = "sysak pingtrace -s -t "+str(cmd0_arg)+" > /dev/null 2>&1 &"
cmd1 = {}
cmd1['instance'] = args["目标实例IP"]