How to monitor Linux UDP buffer available space? You are trying to solve the wrong problem. UDP is?unreliable?communication, period. If packet loss is a problem for you, you should either impleme...
分类:
系统相关 时间:
2014-12-17 19:08:00
阅读次数:
258
做kafka相关项目,需要用到监控的东东,找到了两个方法第一个:http://quantifind.com/KafkaOffsetMonitor/非常容易上手,效果也直观,可以显示各个topic consumer的offset broker存储log的长度不过发现一个bug就是当 consumer没...
分类:
其他好文 时间:
2014-12-17 17:55:21
阅读次数:
768
gmond 版本号 3.1.7sudo service ganglia-monitor start验证是否打开telnet localhost 8649gmetad 版本号3.1.7service gmetad startrrd存放地址 :/var/lib/ganglia/rrdshttps://g...
分类:
其他好文 时间:
2014-12-17 17:48:37
阅读次数:
310
郑昀 基于刘金鑫文档 最后更新于2014/12/1 关键词: recsys 、推荐评测、Evaluation of Recommender System、piwik、flume、kafka、storm、redis、mysql 本文档适用人员:研发 ? 推荐系统可不仅仅是围着推荐算法...
分类:
其他好文 时间:
2014-12-17 16:38:41
阅读次数:
458
[root@ ~]# mysql -h 192.168.0.* -uroot -pEnter password: Welcome to the MySQL monitor. Commands end with ; or \g.Your MySQL connection id is 8174Serv....
分类:
数据库 时间:
2014-12-17 14:34:00
阅读次数:
235
java.lang.IllegalMonitorStateException
JavaDoc上关于IllegalMonitorStateException的解释是:
Thrown to indicate that a thread has attempted to wait on an object's monitor or to notify other threads wa...
分类:
编程语言 时间:
2014-12-17 09:08:50
阅读次数:
322
1、offsetParent 元素的offsetParent并不是元素的父元素,判断元素的offsetParent要根据以下情况:1)当DOM结构层次中的元素均没有进行css定位(设置position为absolute或relative),则offsetParent为根目录;2)当元素的父元素没有进...
分类:
Web程序 时间:
2014-12-16 16:54:43
阅读次数:
181
可以使用下面的语句来得到 SELECT SUBSTRING(qt.TEXT, (qs.statement_start_offset/2)+1, ( (CASE qs.statement_end_offset WHEN -1 THEN DATALENGTH(qt.TEXT) ELSE qs.stat....
分类:
数据库 时间:
2014-12-16 15:01:57
阅读次数:
185
今天做了个固定定位的效果。比如对导航需要进行固定定位效果:当没有滚动到导航下面,导航正常显示。当滚动到导航下面,导航就固定到顶部。这个效果使用了jquery的方法实现,具体思路为:1)首先获取导航相对与文档的偏移量top(使用offset().top)2)定义滚动事件,获取滚动元素的scrollTo...
分类:
Web程序 时间:
2014-12-15 19:03:17
阅读次数:
227
Android DDMS如何使用?DDMS 的全称是Dalvik Debug Monitor Service,它为我们提供例如:为测试设备截屏,针对特定的进程查看正在运行的线程以及堆信息、Logcat、广播状态信息、模拟电话呼叫、接收SMS、虚拟地理坐标等等。如何启动 DDMSDDMS 工具存放在S...
分类:
其他好文 时间:
2014-12-15 18:54:01
阅读次数:
159