show processlist;show processlist\G;SHOW FULL PROCESSLIST;SHOW FULL PROCESSLIST\G; REF:http://dev.mysql.com/doc/refman/5.7/en/show-processlist.htmlhttp://stackoverflow.com/questions/568564/how-can-i-view-live-mysql-queries
SpringBoot项目快速启动停止脚本 1.在jar包同级目录下,创建 app.sh #!/bin/bash appName=`ls|grep .jar$` if [ -z $appName ] then echo "Please check that this script and your jar-package is in the same directory!" exit 1 fi killForceFlag=$2 function start() { count=`ps -
iOS项目冗余资源扫描脚本 随着iOS项目的版本不断迭代,app中冗余文件会越来越多,app size也持续增加,是时候需要对app冗余资源进行检测,对app进行瘦身. 使用方法: 1. 运行环境为mac, 首先准备好工程源代码: 2. 新建check.sh,将下面的代码粘贴到check.sh中并且保存:(可将txt文件改成sh后缀) #!/bin/sh ##### several cases that the scripts does not work: ##### ) there is sp