#!/bin/bash
for i in `MysqL -uroot -ppasswd -Bse "show processlist" | grep -v "show processlist" | awk '{print $1}'`