if __name__ == '__main__':python
228 cmd="ps -A -opid,stime,etime,args | grep python | grep -v grep | grep "+sys.argv[0]+"|sort -n -cmd
k 3|sed '$d'| awk '{print $1}' | xargs kill -9"it
229 print "cmd:",cmdawk
230 p= os.popen(cmd).readlines()sed
231 print pselect
232 start()channel
233 #hiveexe("select * from log.channelnews where p_hour='2014102917' limit 5")grep
234 while True:im
235 time.sleep(10000)sort