一般F5(LTM)的巡检内容包括收集当前的ucs配置备份、收集qkview自检包、日志打包,记录当前node、pool、vs的总数量、可用数量、异常数量、为知数量等等。由于F5的底层Linux做了很多的限制,所以获取F5的很多信息只能通过snmp来实现,请保证F5的snmp使用的是v2c版本,团体名可..
分类:
其他好文 时间:
2016-01-15 13:01:19
阅读次数:
705
Given 3*n + 1 numbers, every numbers occurs triple times except one, find it.ExampleGiven [1,1,2,3,3,3,2,2,4,1] return 4ChallengeOne-pass, constant ex...
分类:
其他好文 时间:
2016-01-14 06:19:04
阅读次数:
202
1、错误描述org.hibernate.exception.GenericJDBCException: Could not open connection
at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:54)
at org....
分类:
数据库 时间:
2016-01-14 01:05:09
阅读次数:
281
Autorelease:可以延迟给对象发送release消息。发送一个autorelease消息给对象,证明该对象在一定时间内有效,一定时间后会对该对象进行释放,进行一次release。一个autorelease pool就是一个NSAutorelease pool对象。一个程序中所有的autore...
分类:
其他好文 时间:
2016-01-13 22:01:29
阅读次数:
229
在用django 框架开发 python web 程序的时候 , 在模板页面经常会用到 settings.py 中设置的常量,比如MEDIA_URL, 我尝试过在模板页面用类似如下的方式 程序代码{{CONSTANT_NAME}}但 是,是没有效果的,后来只好采用了RequestContext 的方...
分类:
其他好文 时间:
2016-01-13 09:18:13
阅读次数:
202
设计模式的世界中,单例模式可能是最简单的一种模式,虽说简单。但想要彻底的弄明确它。还是要经历一点点的波折。以下我为大家慢慢道来:在实际开发中,对于有些对象。我们仅仅须要一个,比方线程池(thread pool),缓存(cache),对话框。日志对象,任务管理器等等。这些对象仅仅能有一个实例。假设出现...
分类:
其他好文 时间:
2016-01-12 19:28:18
阅读次数:
150
Fixed Thread PoolAn asynchronous channel group associated with a fixed thread pool of sizeN, submitsNtasks that wait on I/O or completion events from ...
分类:
其他好文 时间:
2016-01-12 01:12:03
阅读次数:
337
mailxwget http://ftp.debian.org/debian/pool/main/h/heirloom-mailx/heirloom-mailx_12.5.orig.tar.gztar zxvf heirloom-mailx_12.5.orig.tar.gzcd heirloom-m...
分类:
其他好文 时间:
2016-01-11 20:08:48
阅读次数:
135
一:kvm安装两台服务器192.168.115.18
192.168.115.190.修改物理服务器时区cp/usr/share/zoneinfo/Asia/Shanghai/etc/localtime
yuminstallntpdate-y
echo"*/5****rootntpdatecn.pool.ntp.org">>/etc/crontab&&cat/etc/crontab
servicecrondstop&&service..
分类:
其他好文 时间:
2016-01-11 18:33:12
阅读次数:
281
Commons-pool是一个apache开源组织下的众多项目的一个。其被广泛地整合到众多需要对象池功能的项目中。官网:http://commons.apache.org/proper/commons-pool/本文是commons-pool的一个简单应用,包括不带key的池和带key的池。带key...
分类:
Web程序 时间:
2016-01-11 13:38:11
阅读次数:
194