06 2017 档案

摘要:1. code 阅读全文
posted @ 2017-06-27 16:07 fanblog 阅读(815) 评论(0) 推荐(0)
摘要:在shell脚本的开头往往有一句话来定义使用哪种sh解释器来解释脚本。目前研发送测的shell脚本中主要有以下两种方式:(1) #!/bin/sh(2) #!/bin/bash以上两种方式有什么区别?对于脚本的实际运行会产生什么不同的影响吗?脚本test.sh内容:#!/bin/shsource p 阅读全文
posted @ 2017-06-25 17:02 fanblog 阅读(44859) 评论(0) 推荐(7)
摘要:1. 查询所有数据库 表 2. 慢查询 查询时间 show variables like '%slow_query_time%'; show variables like '%long_query_time%'; show variables like '%slow%'; show variable 阅读全文
posted @ 2017-06-04 23:10 fanblog 阅读(166) 评论(0) 推荐(0)