#include struct dirent { long d_ino;//inode number索引节点号 off_t d_off;//offset to this dirent 在目录文件中的偏移 unsigned short d_reclen;//length of this d_na...
分类:
其他好文 时间:
2014-10-13 00:45:08
阅读次数:
239
System Safety Monitor(以下简称为SSM),它是一款俄罗斯出品的系统监控软件,通过监视系统特定的文件(如注册表等)及应用程序,达到保护系统安全的目的。在某些功能上比Winpatrol更强大 。安装并启动(可能需手动到安装目录中运行SysSafe.exe)SSM后,点击弹出的LOG...
分类:
其他好文 时间:
2014-10-12 22:30:38
阅读次数:
627
1 1 #include 2 2 #define MAXN 1000 3 3 #define offset 10000 4 4 #define eps 1e-8 5 5 #define PI acos(-1.0)//3.14159265358979323846 6 ...
分类:
其他好文 时间:
2014-10-12 15:14:38
阅读次数:
184
#!/bin/sh
# Find ip
IP=`/sbin/ifconfig eth1 | grep 'inet addr' | awk '{ print substr($2, index($2, ":")+1)}'`
#monitor procname scriptname
monitor()
{
procname=$1
scriptname=$2
# Find proc by p...
分类:
Web程序 时间:
2014-10-12 10:46:07
阅读次数:
267
#!/bin/sh
my_ip=`/sbin/ifconfig eth1 | grep 'inet addr' | awk '{print substr($2, index($2, ":")+1)}'`
recv=""
msg="not_existing, restart ..."
MONITOR_LOG="monitor.log"
#monitor procname scriptname...
分类:
系统相关 时间:
2014-10-11 23:25:07
阅读次数:
329
转:http://blog.chinaunix.net/uid-25135004-id-4172954.html测试kafka producer发送消息 和consumer 接受消息报错 ,kafka版本kafka_2.9.2-0.8.1[root@master ~]# /export/kafka/...
分类:
其他好文 时间:
2014-10-11 18:40:56
阅读次数:
403
由于cacti本身自带的插件有限,在实际的生产环境中,光依赖这些是远远不够的,那么这篇博文呢就带我们走进cacti插件安装的世界,请顺着我的行迹往下看1.到cacti官网下载我们要用到的插件,这里以monitor、thold、setting、syslog为例[root@Cacti~]#wgethttp://docs.cacti.net/_..
分类:
其他好文 时间:
2014-10-11 15:14:36
阅读次数:
185
var animateBlock={ isVisiable:function(el,wh,st,delta){ delta=delta||200; //console.log($(el).offset().top,wh,st,delta) return $(el).offset().top500)....
分类:
其他好文 时间:
2014-10-11 14:46:45
阅读次数:
253
Charles-很好用的WEB DUBUGGING工具 ABOUT CHARLES Charles is a web proxy (HTTP Proxy / HTTP Monitor) that runs on your own computer. Your web browser (or any other Internet application) is then conf...
分类:
Web程序 时间:
2014-10-11 13:57:35
阅读次数:
180
Set a multi node Apache ZooKeeper clusterOn every node of the cluster add the following lines to the filekafka/config/zookeeper.propertiesserver.1=zNo...
分类:
Web程序 时间:
2014-10-11 13:20:15
阅读次数:
253