blob: 77cecfc59f253c456b08c02c88c65279118e656e [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
10#PID=`ps -ef|grep yingyib|grep java|grep datanode|awk '{print $2}'`
11
12#echo $PID
13#kill -9 $PID
14
15
16#PID=`ps -ef|grep yingyib|grep java|grep tasktracker|awk '{print $2}'`
17
18#echo $PID
19#kill -9 $PID
20
21rm -rf /data/yingyi/tmp/*
22rm -rf /data/yingyi/tmp/*
23rm -rf /data/yingyi/tmp/*
24rm -rf /data/yingyi/tmp/*