上一页 1 ··· 201 202 203 204 205 206 207 208 209 ··· 229 下一页
摘要: http://www.programcreek.com/2013/04/jvm-run-time-data-areas/This is my note of reading JVM specification. I draw a diagram which helps me understand.1. Data Areas for Each Individual Thread (not shared)Data Areas for each individual thread include program counter register, JVM Stack, and Native Meth 阅读全文
posted @ 2014-01-21 19:33 一天不进步,就是退步 阅读(342) 评论(0) 推荐(0) 编辑
摘要: reference:http://www.coolcoder.in/2014/01/getting-over-dangers-of-rm-command-in.htmlWhen we want to delete a directory and everything in it, we normally usually use rm -rf. However, this is a bad habit to get into. If you make a mistake, you could delete your entire partition.For a start, if you dro 阅读全文
posted @ 2014-01-21 19:07 一天不进步,就是退步 阅读(266) 评论(0) 推荐(0) 编辑
摘要: http://viralpatel.net/blogs/useful-oracle-queries/Here’s a list of 40+ Useful Oracle queries that every Oracle developer must bookmark. These queries range from date manipulation, getting server info, get execution status, calculate database size etc.Date / Time related queriesGet the first day of t 阅读全文
posted @ 2014-01-21 17:01 一天不进步,就是退步 阅读(438) 评论(0) 推荐(0) 编辑
摘要: 1. 在浏览器地址栏输入 about:config.弹出对话框:2.点击“我保证会小心”,弹出下面的对话框,在搜索栏中输入general.useragent.override,查看是否有user-agent。3. 如果没有general.useragent.override,则右键,新建字符串。否则右键修改该字符串的值。4. 添加键general.useragent.override,value 自定义的 阅读全文
posted @ 2014-01-21 16:51 一天不进步,就是退步 阅读(1104) 评论(0) 推荐(0) 编辑
摘要: 1.首先该工程最好是gui的,使用swing或者awt的都行。2.使用eclipse打包jar文件。 项目名字上面点右键,选择Export,在选择java\JAR file。 选择src文件夹,.classpath和.project不选 去掉Export class files withcompile errors(编译错误时也输出class文件)的选项 在main class中选择含有main方法的类,单击finish。3. 新建一个文件夹,将jar包和安装jdk下的jre目录文件拷贝到该目录下,同时将jar拷贝到该目录下。4. 在上述目录下建立一个.bat文件,编辑如下: start ja 阅读全文
posted @ 2014-01-21 16:38 一天不进步,就是退步 阅读(872) 评论(0) 推荐(0) 编辑
摘要: http://my.oschina.net/immk/blog/193926动机与需求:现在有两台服务器A和B,由于A的存储随时会挂(某些原因),所以需要B机器上有A的备份,并且能够与A同步更新一、crontab定时任务发现了crontab这个东西简单实践了一下,把使用的过程写到下面:首先是编辑一个文件,这个文件在一个很不好找的位置,但crontab提供了一个命令可以直接用vi打开这个文件crontab -e文件打开以后要在文件末尾加上一行:* * * * * mkdir /usr/local/test >/home/log.txt 2>&1总共分为三个部分,首先是5个星星 阅读全文
posted @ 2014-01-20 08:58 一天不进步,就是退步 阅读(2911) 评论(0) 推荐(0) 编辑
摘要: http://luyx30.blog.51cto.com/1029851/1350832参考资料:http://patrick-tang.blogspot.com/2012/06/redis-keepalived-failover-system.htmlhttp://deidara.blog.51cto.com/400447/302402http://my.oschina.net/guol/blog/182491http://shiguanghui.iteye.com/blog/2001499背景目前,Redis集群的官方方案还处在开发测试中,未集成到稳定版中。且目前官方开发中的Redis C 阅读全文
posted @ 2014-01-18 14:57 一天不进步,就是退步 阅读(16580) 评论(0) 推荐(0) 编辑
摘要: http://blog.itpub.net/9399028/viewspace-692974/以前用weblogic低版本的时候,感觉挺容易的,也没什么要注意的,这次真正把应用从websphere迁移到weblogic下后,发现问题还是真多了。系统采用war包的方式部署。问题一:#### #### > 原因:在weblogic上部署war包的话,默认是不展开的,所以如下的hibernate配置不能解析。 classpath:/com/edu/nts/entity 解决办法:针对weblogic的部署方式,必须改为如下方式。 com/edu/... 阅读全文
posted @ 2014-01-16 17:30 一天不进步,就是退步 阅读(5515) 评论(0) 推荐(0) 编辑
摘要: http://www.ibm.com/developerworks/linux/library/l-async/?S_TACT=105AGX52&S_CMP=cn-a-lIntroduction to AIOLinux asynchronous I/O is a relatively recent addition to the Linux kernel. It's a standard feature of the 2.6 kernel, but you can find patches for 2.4. The basic idea behind AIO is to all 阅读全文
posted @ 2014-01-16 11:56 一天不进步,就是退步 阅读(459) 评论(0) 推荐(0) 编辑
摘要: http://www.ibm.com/developerworks/cn/linux/kernel/l-thread/一.基础知识:线程和进程按照教科书上的定义,进程是资源管理的最小单位,线程是程序执行的最小单位。在操作系统设计上,从进程演化出线程,最主要的目的就是更好的支持SMP以及减小(进程/线程)上下文切换开销。无论按照怎样的分法,一个进程至少需要一个线程作为它的指令执行体,进程管理着资源(比如cpu、内存、文件等等),而将线程分配到某个cpu上执行。一个进程当然可以拥有多个线程,此时,如果进程运行在SMP机器上,它就可以同时使用多个cpu来执行各个线程,达到最大程度的并行,以提高效率; 阅读全文
posted @ 2014-01-16 11:53 一天不进步,就是退步 阅读(737) 评论(0) 推荐(0) 编辑
上一页 1 ··· 201 202 203 204 205 206 207 208 209 ··· 229 下一页