网上给出了很多中解决办法,主要有一下几种:1 关闭Windows防火墙;2 关闭ipv6或设置ipv4偏好,具体为:在“设备管理器”,显示隐藏设备,禁用“Teredo”开头的一个网络设备;在eclipse.ini文件增加(最后一行的参数)openFile-vmargs-Djava.net.prefe...
分类:
移动开发 时间:
2015-04-15 00:43:56
阅读次数:
186
在多线程代码中,多个线程可能会访问一些公共的资源(变量、方法逻辑等等),这些公共资源称为临界区(共享区);临界区的资源是不安全,所以需要通过线程同步对多个访问临界区的线程进行控制。同样,有些时候我们需要多个线程按照特定的顺序执行,这时候,我们也需要进行线程同步。下面,我们就看看C#中通过lock和M...
分类:
编程语言 时间:
2015-04-14 23:08:05
阅读次数:
145
今天发现一个轻量级工具,比cacti、nagios轻得多。。。。安装非常简单http://mmonit.com/monit/下载地址解压后配置好文件就能运行vim/etc/monitrcsetdaemon30#checkserviceat30secondsetlogfile/var/log/monit.log#savelogsetpidfile/var/run/monit.pid#pidfilesetmailserverlo..
分类:
其他好文 时间:
2015-04-14 20:02:43
阅读次数:
273
adb shell monkey -p com.android.recorder --throttle 360 --ignore-crashes --monitor-native-crashes --ignore-security-exceptions --ignore-timeouts...
分类:
数据库 时间:
2015-04-13 20:33:53
阅读次数:
313
13. TLW_TWO_LOCK_WAIT ? TLW: Wait with two locks held (TLW_TWO_LOCK_WAIT) Waiting on a monitor while two locks are held may cause deadlock. ? Performing a wait only releases the lock on the obje...
分类:
数据库 时间:
2015-04-13 00:31:48
阅读次数:
269
#!/bin/bashctime=`date +%x%T`monitor_dir=/home/jk/if [ ! -d $monitor_dir ]; then mkdir $monitor_dirficd $monitor_dirweb_stat_log=web.statusif [ ! -f $...
分类:
系统相关 时间:
2015-04-12 01:15:39
阅读次数:
158
topas解析topas 的显示信息和解析(1)topas monitor for host:localhost topas监控的主机名称localhosttue Aug 14 14:13:22 2012 Interval:2 当前时间,时间间隔(2)CPU User% Kern% Wait% Id...
分类:
其他好文 时间:
2015-04-10 20:10:49
阅读次数:
203
topas命令详解www.educity.cn 发布者:bigfeet 来源:网络转载 发布日期:2014年05月19日 文章评论 发表文章 1.AIX系统版本 -bash-3.00$ oslevel 5.3.0.0 2.topas命令 Topas Monitor for host: ...
分类:
其他好文 时间:
2015-04-10 20:08:38
阅读次数:
175
C:\Users\Administrator>mysql -h localhost -P 3390 -uroot -p (-P 后面是端口号,P是大写字母)
Enter password: *********
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 55
S...
分类:
数据库 时间:
2015-04-10 18:05:13
阅读次数:
118
【翻译自mos文章】使用Process Monitor 来跟踪windows下的系统调用(system calls)...