今天下午网站宕了两次机,发工单给阿里云,发现原因是服务器的CPU 100%了。重启服务器后,使用 top 命令看看是哪些进程消耗那么大的 CPU 使用。盯了有好十几分钟,主要消耗 CPU 的进程有两个,一个是 mysql,另一个是 apache。下面的图可以看到,mysql 占用了很大部分的 CPU...
分类:
其他好文 时间:
2014-08-28 11:04:29
阅读次数:
168
我们都知道DOM节点的title属性,Tooptip组件就是比较强大的title,它可以自由的设置自己的样式、位置以及有自己相关的触发事件。
示例:
jQuery Easy UI
$(function () {
$.fn.tooltip.defaults.position = 'top'; //重写属性的默认值
$('#box').tooltip({
/...
分类:
Web程序 时间:
2014-08-27 22:02:27
阅读次数:
343
So for today’s blog post, we will concentrate on 4 different reports:Top Queries by Average CPU TimeTop Queries by Total CPU TimeTop Queries by Averag...
分类:
数据库 时间:
2014-08-27 20:21:28
阅读次数:
235
System.exit(0);
Intent i =new Intent(getBaseContext(), POU2.class);
i.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
startActivity(i);...
分类:
移动开发 时间:
2014-08-27 16:35:18
阅读次数:
288
Unique Paths
A robot is located at the top-left corner of a m x n grid (marked 'Start' in the diagram below).
The robot can only move either down or right at any point in time. The r...
分类:
其他好文 时间:
2014-08-27 16:34:58
阅读次数:
242
css.departmentheadpic {height:230px;width:auto;background-color:#fff;padding-top:2px;padding-bottom:2px; positio...
分类:
其他好文 时间:
2014-08-27 16:09:07
阅读次数:
186
div piao置于div bg之上 教学动态 css.piao {position:absolute;left:15px;top:-12px;width:86px;height:31px;text-align:center;line-height:24...
分类:
其他好文 时间:
2014-08-27 16:04:28
阅读次数:
214
在网页制作动画特效的时候,有时候想通过背景插入图片,然后通过控制背景显示的位置来实现一些动画效果,这样就不用使用绝对定位控制left和top来实现动画效果!但是jquery本身的动画函数是不支持背景动画的!这里就介绍通过一个动画插件来实现背景动画的效果!代码如下!(jqBackgroundPosit...
分类:
Web程序 时间:
2014-08-27 15:59:58
阅读次数:
199