sigint_stop_dnodes.sh 298 字节
Newer Older
S
Shengliang Guan 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
#!/bin/sh

set +e
#set -x

export LD_PRELOAD=
UNAME_BIN=`which uname`
OS_TYPE=`$UNAME_BIN`

PID=`ps -ef|grep -w taosd | grep -v grep | awk '{print $2}'`
while [ -n "$PID" ]; do
  #echo "Killing taosd processes " $PID
  kill $PID

  PID=`ps -ef|grep -w taosd | grep -v grep | awk '{print $2}'`
done