File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -34,7 +34,6 @@ for p in `pgrep -u flp`; do
3434 c=" ` ps -ho %c $p ` "
3535 [ " $c " = " o2-alf" ] && continue
3636 echo " Kill '%s' (PID:%s)\n" " ` date` " " ` hostname -s` " " $c " " $p " | $O2_INFOLOGGER_PATH /bin/o2-infologger-log -x -s Debug -o Facility=$O2_FACILITY
37- printf " %s\t%s\tKilling '%s' (PID:%s)\n" " ` date` " " ` hostname -s` " " $c " " $p "
3837 n=$(( n+ 1 ))
3938 kill $p
4039done
@@ -46,8 +45,7 @@ if (( n > 0 )); then
4645 for p in ` pgrep -u flp` ; do
4746 c=" ` ps -ho %c $p ` "
4847 [ " $c " = " o2-alf" ] && continue
49- echo " Kill -9 '%s' (PID:%s)\n" " ` date` " " ` hostname -s` " " $c " " $p " | $O2_INFOLOGGER_PATH /bin/o2-infologger-log -x -s Fatal -o Facility=$O2_FACILITY
50- printf " %s\t%s\tKilling \" -9\" '%s' (PID:%s)\n" " ` date` " " ` hostname -s` " " $c " " $p "
48+ echo " Kill -9 '%s' (PID:%s)\n" " ` date` " " ` hostname -s` " " $c " " $p " | $O2_INFOLOGGER_PATH /bin/o2-infologger-log -x -s Debug -o Facility=$O2_FACILITY
5149 kill -9 $p
5250 done
5351fi
You can’t perform that action at this time.
0 commit comments