会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
xiaohui163
博客园
首页
新随笔
联系
订阅
管理
2016年10月8日
linux 内存查看
摘要: pmap $(pgrep zabbix | head -1) ash-2.05$ /usr/ucb/ps -auxww|grep usr|grep javausr 13601 33.3 14.21357080850072 ? O 05:01:25 10:16 /opt/bea/jdk/bin/jav
阅读全文
posted @ 2016-10-08 14:46 xiaohui163
阅读(192)
评论(0)
推荐(0)
2016年5月6日
linux Rootkit
摘要: 中文名叫”Rootkit猎手”, 可以发现大约58个已知的rootkits和一些嗅探器和后门程序. 它通过执行一系列的脚本来确认你的机器是否已经感染rootkits. 比如检查rootkits使用的基本文件, 可执行二进制文件的错误文件权限, 检测内核模块等等. Rootkit Hunter由Mic
阅读全文
posted @ 2016-05-06 11:54 xiaohui163
阅读(1109)
评论(0)
推荐(0)
ansbile 常用命令
摘要: 1、 文件组装模块-assemble assemble主要是将多份配置文件组装为一份配置文件。 参数 必填 默认 选项 说明 Backup 否 No Yes/no 是否创建备份文件,使用时间戳 Delimiter 否 配置文件内容之间的分隔符 Dest 是 目的文件用来连接所有的源文件 Follow
阅读全文
posted @ 2016-05-06 11:05 xiaohui163
阅读(552)
评论(0)
推荐(0)
2016年4月12日
nginx + varnish + nginx 获取客户端地址
摘要: nginx http { ... set_real_ip_from 153.37.232.0/24; real_ip_header X-Forwarded-For; ... } varnish sub vcl_recv {... if (req.restarts == 0) { if (req.ht
阅读全文
posted @ 2016-04-12 18:22 xiaohui163
阅读(262)
评论(0)
推荐(0)
2016年4月8日
tomcat 监听地址
摘要: <Server port="8015" shutdown="SHUTDOWN"> ... <Connector port="8089" address="10.171.227.157" protocol="HTTP/1.1 ... <Connector port="8019" address="10
阅读全文
posted @ 2016-04-08 13:51 xiaohui163
阅读(746)
评论(0)
推荐(0)
zookeeper 配置
摘要: globalOutstandingLimit 这个配置指定了等待处理的最大请求数量的限制(zookeeper.globalOutstandingLimit)。 client发送请求的速度可能会比server端处理的速度快,会导致请求在server端排队,最终(在若干秒内)会使server的内存耗尽。
阅读全文
posted @ 2016-04-08 13:47 xiaohui163
阅读(1176)
评论(0)
推荐(0)
2016年2月16日
shell数组
摘要: 1 group='www_ wwwhuidu_' 2 echo "*********************" 3 for i in $group 4 do 5 echo "* $a,$i组" 6 list2[$a]=$i 7 a=`expr $a + 1` 8 done 9 echo "* $a,
阅读全文
posted @ 2016-02-16 17:06 xiaohui163
阅读(289)
评论(0)
推荐(0)
nginx tcp配置
摘要: 1,安装nginx tcp插件 patch -p1 < nginx_tcp_proxy_module-master/tcp.patch ./configure -prefix=/wdzj/lnmp/nginx --user=nginx --group=nginx --add-module=/wdzj
阅读全文
posted @ 2016-02-16 17:00 xiaohui163
阅读(1504)
评论(0)
推荐(0)
域名检测报警脚本
摘要: 1 [root@localhost domain]# cat check_domain.sh 2 #!/bin/bash 3 script_dir=`dirname $0` 4 5 a=0 6 for line in `awk -F'[ \t]+' '{print $1"|"$2"|"$3}' /p
阅读全文
posted @ 2016-02-16 16:47 xiaohui163
阅读(562)
评论(0)
推荐(0)
dnspod单个修改与批理修改脚本
摘要: 1 [root@localhost dnspod]# cat dnspod.sh 2 #!/bin/bash 3 function menu() { 4 clear 5 echo "*********************Dnspod************************" 6 echo
阅读全文
posted @ 2016-02-16 16:38 xiaohui163
阅读(691)
评论(0)
推荐(0)
下一页
公告