blob: 6bbbb3b5104cc551667fe577e63f1862229a1358 [file] [log] [blame]
buyingyic73348c2012-11-02 00:31:31 +00001#!/bin/bash
2
3#PID=`/usr/local/java/vms/java/bin/jps | grep NCDriver | awk '{print $1}'`
4
5PID=`ps -ef|grep yingyib|grep java|grep hyracks|awk '{print $2}'`
6
7echo $PID
8kill -9 $PID
9
10PID=`ps -ef|grep yingyib|grep java|grep datanode|awk '{print $2}'`
11
12echo $PID
13kill -9 $PID
14
15
16PID=`ps -ef|grep yingyib|grep java|grep tasktracker|awk '{print $2}'`
17
18echo $PID
19kill -9 $PID
20
21rm -rf /mnt/data/sda/space/yingyi/tmp/*
22rm -rf /mnt/data/sdb/space/yingyi/tmp/*
23rm -rf /mnt/data/sdc/space/yingyi/tmp/*
24rm -rf /mnt/data/sdd/space/yingyi/tmp/*