推荐运维论坛http://www.211hello.com推荐运维博客http://www.021soso.com关闭iptablesserviceiptablesstop配置zabbix源rpm-ivhhttp://repo.zabbix.com/zabbix/2.4/rhel/6/x86_64/zabbix-release-2.4-1.el6.noarch.rpm安装zabbix客户端yum-yinstallzabbixzabbix-agentvi/etc/za..
分类:
系统相关 时间:
2015-10-19 17:33:41
阅读次数:
222
使用JS判断浏览器版本其实并不复杂,只是在判断IE浏览器时判断IE浏览器各个版本时需要花点心思。1.使用判断浏览器USER_AGENT的方法判断出IE浏览器的情况下,在此基础上再判断其版本。2.判断IE6、IE9、IE11的方法稍微特殊点。IE9及以上的版本alert(!-[1,])返回的是fals...
分类:
Web程序 时间:
2015-10-17 16:09:05
阅读次数:
265
String agent = request.getHeader("User-Agent").toLowerCase(); Pattern pattern = Pattern.compile("msie (\\d+)"); Matcher matcher = pattern.ma...
分类:
编程语言 时间:
2015-10-17 12:07:10
阅读次数:
120
测试环境:5个节点(( controller,2 network,2 compute nodes))采用VXLAN+Linux Bridge确定所有的neutron和nova服务都在运行Nova service-listNeutron agent-list2. 创建2个networksa) neut...
分类:
其他好文 时间:
2015-10-17 10:42:26
阅读次数:
257
FATALERRORinnativemethod:JDWPNotransportsinitialized,jvmtiError=AGENT_ERROR_TRANSPORT_INIT(197) 在网络中有多种解释, 其实大部分是因为软件未正常关闭,导致出现一个幽灵java进程, 到任务管理器里面结束掉...
分类:
编程语言 时间:
2015-10-16 13:33:35
阅读次数:
157
zabbix监控tomcat1.编译zabbix的时候需要添加参数--enable-java关于如何安装zabbix,可以参考上一篇文章http://blog.unix178.com/备份zabbix_server.conf和zabbix_agentd.conf文件,重新编译安装zabbix[root@nginxzabbix-2.2.0]#./configure--enable-server--enable-agent--with..
分类:
其他好文 时间:
2015-10-16 06:28:25
阅读次数:
221
//自定制的userAgent- (void)createMyAgent{ NSString *userAgent = [[[UIWebView alloc]init]stringByEvaluatingJavaScriptFromString:@"navigator.userAgent"]; N....
分类:
移动开发 时间:
2015-10-13 22:39:13
阅读次数:
250
一、效果图二、proc.num说明:官方说明文档路径:https://www.zabbix.com/documentation/2.4/manual/config/items/itemtypes/zabbix_agent命令说明proc.mem[<name>,<user>,<mode>,<cmdline>]Memoryusedbya
process.<name>processname(default:"a..
public string IsMobile() { string str_u = Request.ServerVariables["HTTP_USER_AGENT" ]; Regex b = new Regex(@"android.+mobile|avantgo|bada\/|blackberry...
分类:
移动开发 时间:
2015-10-13 18:54:42
阅读次数:
244
"""Server Density Agent Plugin for memcachedThis script requires a config entry in the agent config[Memcached]host = '127.0.0.1'port = 12000"""import ...
分类:
系统相关 时间:
2015-10-13 12:17:49
阅读次数:
357