Thursday, December 16, 2010

mysql processlistesi zamana göre sort etmek. consoledan

mysql -e "show full processlist" | grep -v '^\+\-\-' | grep -v '^| Id' | grep -v '^[0-9][0-9]* rows in set ' | grep -v '^ ' | sort -n -k12

No comments:

Post a Comment