﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>博客园-Menghe-最新评论</title><link>http://www.cnblogs.com/menghe/CommentsRSS.aspx</link><description /><language>zh-cn</language><pubDate>Sun, 12 Feb 2012 03:58:18 GMT</pubDate><lastBuildDate>Sun, 12 Feb 2012 03:58:18 GMT</lastBuildDate><generator>cnblogs</generator><item><title>re: 开最便宜的汽车</title><link>http://www.cnblogs.com/menghe/archive/2008/08/21/165400.html#1293653</link><dc:creator>李爽</dc:creator><author>李爽</author><pubDate>Thu, 21 Aug 2008 07:22:21 GMT</pubDate><guid>http://www.cnblogs.com/menghe/archive/2008/08/21/165400.html#1293653</guid><description><![CDATA[写的挺好，是你自己 的 总结吗？？给我们这些已婚人士多一些自我思考，多敲一敲警钟！！希望我们都能做到！！<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/menghe/" target="_blank">李爽</a> 2008-08-21 15:22 <a href="http://www.cnblogs.com/menghe/archive/2008/08/21/165400.html#1293653#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 高晔钧的留言</title><link>http://www.cnblogs.com/menghe/archive/2007/02/09/149447.html#646413</link><dc:creator>邸利平</dc:creator><author>邸利平</author><pubDate>Fri, 09 Feb 2007 12:38:00 GMT</pubDate><guid>http://www.cnblogs.com/menghe/archive/2007/02/09/149447.html#646413</guid><description><![CDATA[鸟人，好久没见了<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/menghe/" target="_blank">邸利平</a> 2007-02-09 20:38 <a href="http://www.cnblogs.com/menghe/archive/2007/02/09/149447.html#646413#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 开最便宜的汽车</title><link>http://www.cnblogs.com/menghe/archive/2006/08/29/165400.html#489290</link><dc:creator>孟和</dc:creator><author>孟和</author><pubDate>Tue, 29 Aug 2006 04:50:00 GMT</pubDate><guid>http://www.cnblogs.com/menghe/archive/2006/08/29/165400.html#489290</guid><description><![CDATA[这个贴子的回复一如这个贴子的内容：）<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/menghe/" target="_blank">孟和</a> 2006-08-29 12:50 <a href="http://www.cnblogs.com/menghe/archive/2006/08/29/165400.html#489290#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 开最便宜的汽车</title><link>http://www.cnblogs.com/menghe/archive/2006/08/29/165400.html#489133</link><dc:creator>不管后开</dc:creator><author>不管后开</author><pubDate>Tue, 29 Aug 2006 02:23:00 GMT</pubDate><guid>http://www.cnblogs.com/menghe/archive/2006/08/29/165400.html#489133</guid><description><![CDATA[价钱不是问题，重要是质量的保证。<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/menghe/" target="_blank">不管后开</a> 2006-08-29 10:23 <a href="http://www.cnblogs.com/menghe/archive/2006/08/29/165400.html#489133#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 快速配置weblogic8.X的应用目录</title><link>http://www.cnblogs.com/menghe/archive/2006/06/17/151967.html#428087</link><dc:creator>menghe</dc:creator><author>menghe</author><pubDate>Sat, 17 Jun 2006 01:56:00 GMT</pubDate><guid>http://www.cnblogs.com/menghe/archive/2006/06/17/151967.html#428087</guid><description><![CDATA[appweb应该是一个文件夹，需要帮忙的话，我的MSN:menghe_yun(a)hotmail.com<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/menghe/" target="_blank">menghe</a> 2006-06-17 09:56 <a href="http://www.cnblogs.com/menghe/archive/2006/06/17/151967.html#428087#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 快速配置weblogic8.X的应用目录</title><link>http://www.cnblogs.com/menghe/archive/2006/06/15/151967.html#427010</link><dc:creator>chen</dc:creator><author>chen</author><pubDate>Thu, 15 Jun 2006 13:30:00 GMT</pubDate><guid>http://www.cnblogs.com/menghe/archive/2006/06/15/151967.html#427010</guid><description><![CDATA[b.目录创建完成后，在控制台的首页，选择“Web Application Modules”-&gt;”Deploy a new Web Application Module... ”,在”Location”下选择你刚才创建的appweb(注意这个目录一定要有WEB-INF目录，并且在WEB-INF目录下一定要有 web.xml文件，否则不能够创建应用目录)。选择后，点击”target module”，返回，可以看到当前weblogic服务中依成功创建的应用目录了。然后再创建一个index.html文档放在appweb目录下，就完成了应用目录的创建。 <br><br>出现错误：<br>当已经建立web.xml文件，选择appweb文件后点击“目标模块”后，屏幕提示是找不到相应文件，可以帮忙解决吗？<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/menghe/" target="_blank">chen</a> 2006-06-15 21:30 <a href="http://www.cnblogs.com/menghe/archive/2006/06/15/151967.html#427010#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: Introducing Java 5</title><link>http://www.cnblogs.com/menghe/archive/2006/05/26/410259.html#410262</link><dc:creator>孟和</dc:creator><author>孟和</author><pubDate>Fri, 26 May 2006 11:30:00 GMT</pubDate><guid>http://www.cnblogs.com/menghe/archive/2006/05/26/410259.html#410262</guid><description><![CDATA[这篇文章没有讲到for的语法变化，一个简单的例子：<br>   public static int addMethod(String memo,Object ... args){<br>        int res =0;   <br>        for(Object arg:args){<br>             res += (Integer)arg;<br>        }<br>        System.out.printf(&quot;the memo is %1s, the sum is %2i&quot;,memo,res);<br>        return res;<br>    }<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/menghe/" target="_blank">孟和</a> 2006-05-26 19:30 <a href="http://www.cnblogs.com/menghe/archive/2006/05/26/410259.html#410262#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: MySQL中修改密码及访问限制设置详解</title><link>http://www.cnblogs.com/menghe/archive/2006/05/23/407421.html#407422</link><dc:creator>孟和</dc:creator><author>孟和</author><pubDate>Tue, 23 May 2006 12:18:00 GMT</pubDate><guid>http://www.cnblogs.com/menghe/archive/2006/05/23/407421.html#407422</guid><description><![CDATA[忘记mysql 密码的取回方法<br><br>如果 MySQL 正在运行，<br>首先杀之： killall -TERM mysqld(如果是windows,直接调出进程管理器,结束之) <br>以安全模式启动 MySQL ：<br>/usr/bin/safe_mysqld --skip-grant-tables &amp;<br>(windows 下 mysql安装所以盘/mysql/bin/safe_mysqld --skip-grant-tables )<br>就可以不需要密码就进入 MySQL 了。<br>然后就是<br>&gt;use mysql<br>&gt;update user set password=password(&quot;new_pass&quot;) where user=&quot;root&quot;;<br>&gt;flush privileges;<br>重新杀 MySQL ，用正常方法启动 MySQL 。 <br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/menghe/" target="_blank">孟和</a> 2006-05-23 20:18 <a href="http://www.cnblogs.com/menghe/archive/2006/05/23/407421.html#407422#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 性能测试 之 JMeter</title><link>http://www.cnblogs.com/menghe/archive/2006/03/26/130481.html#359479</link><dc:creator>loadtester</dc:creator><author>loadtester</author><pubDate>Sun, 26 Mar 2006 14:36:00 GMT</pubDate><guid>http://www.cnblogs.com/menghe/archive/2006/03/26/130481.html#359479</guid><description><![CDATA[很高兴认识你，我是Bonoy JMeter的版主，多多交流。JMeter中文论坛上有更多资源，更多朋友可以一起学习这个工具。<a target="_new" href="http://www.bonoy.com/a/index.php?name=PNphpBB2&amp;file=viewforum&amp;f=39">http://www.bonoy.com/a/index.php?name=PNphpBB2&amp;file=viewforum&amp;f=39</a><br><br><a target="_new" href="http://www.bonoy.com/jmeter">http://www.bonoy.com/jmeter</a> JMeter中文网站<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/menghe/" target="_blank">loadtester</a> 2006-03-26 22:36 <a href="http://www.cnblogs.com/menghe/archive/2006/03/26/130481.html#359479#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 如何处理大数据量的查询</title><link>http://www.cnblogs.com/menghe/archive/2005/11/03/267996.html#268017</link><dc:creator>孟和</dc:creator><author>孟和</author><pubDate>Thu, 03 Nov 2005 07:27:00 GMT</pubDate><guid>http://www.cnblogs.com/menghe/archive/2005/11/03/267996.html#268017</guid><description><![CDATA[这个内容是我在Teched上了解到的，最近手头有一大堆其他工作，还没有具体进行测试，纪录到我的Blog中，以后时间充裕的时候，对这个内容作一个深入的学习。<br><br>一个有数百万的表，甚至更多纪录的表。假设这个表的结构为：(table table1)<br><br>int 自增 aa<br><br>nvarchar? bb<br><br>我们可以把这个表根据 aa 的字段拆分为数个表。然后把这数个表做成一个视图。View1<br><br>在拆分的这数个表中，每个表都使用 Check 对 aa的范围进行一下约束。这样如果我们 使用 select * form view1 where aa = 000000? 这样只会在其中一个拆分表中查寻，而不会在多个表中查寻。这样可以减少锁的问题，同时查询速度也快。<br><br>?<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/menghe/" target="_blank">孟和</a> 2005-11-03 15:27 <a href="http://www.cnblogs.com/menghe/archive/2005/11/03/267996.html#268017#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re:  Interview English</title><link>http://www.cnblogs.com/menghe/archive/2005/10/23/163610.html#260455</link><dc:creator>南 </dc:creator><author>南 </author><pubDate>Sun, 23 Oct 2005 14:11:00 GMT</pubDate><guid>http://www.cnblogs.com/menghe/archive/2005/10/23/163610.html#260455</guid><description><![CDATA[真是雪中送炭 啊 <br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/menghe/" target="_blank">南 </a> 2005-10-23 22:11 <a href="http://www.cnblogs.com/menghe/archive/2005/10/23/163610.html#260455#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: ORACLE数据库启动关闭</title><link>http://www.cnblogs.com/menghe/archive/2005/09/07/186686.html#231966</link><dc:creator>孟和</dc:creator><author>孟和</author><pubDate>Wed, 07 Sep 2005 11:05:00 GMT</pubDate><guid>http://www.cnblogs.com/menghe/archive/2005/09/07/186686.html#231966</guid><description><![CDATA[1. 关于ORACLE优化器的说明<br><br> ORACLE的优化器共有3种:<br> a. RULE (基于规则)  <br> b. COST (基于成本) <br> c. CHOOSE (选择性)<br>   <br> 1.1.在缺省情况下,ORACLE采用CHOOSE优化器(INIT.ORA 参数 OPTIMIZER_MODE可查 ), 为了避免那些不必要的全表扫描(full table scan) ,<br> 1.2.我们尽量避免使用CHOOSE优化器,而直接采用基于规则或者基于成本的优化器.<br> 1.3.尽管基于成本的优化器常常是对性能最有效的，你必须经常运行analyze 命令,<br>     以增加数据库中的对象统计信息(object statistics)的准确性.所以我们也尽量避免使用COST优化器； <br>    <br>2.基于RULE优化器的SQL语法<br> <br> --SELECT /*+ RULE */ <br> --FROM CHILDTABLE A,MAINTABLE B<br> --WHERE B.KEY = A.KEY<br> --AND B.KEY = :KEY;<br>     <br>3. 基于规则的优化器的SQL优化写法<br><br> 3.1.选择最有效率的表名顺序(只在基于规则的优化器中有效)<br> <br> 规则1： ORACLE的解析器按照从右到左的顺序处理FROM子句中的表名,<br>  因此FROM子句中写在最后的表(基础表 driving table)将被最先处理.<br>  在FROM子句中包含多个表的情况下,你必须选择记录条数最少的表作为基础表.<br>  <br> 规则2： 当ORACLE处理多个表时, 会运用排序及合并的方式连接它们.<br>  首先,扫描第一个表(FROM子句中最后的那个表)并对记录进行派序,<br>  然后扫描第二个表(FROM子句中最后第二个表),最后将所有从第二个表中检索出的记录与第一个表中合适记录进行合并.<br>  当所有的连接条件都有索引对应, 在这种情况下, 基础表就是FROM 子句中列在最后的那个表.<br>       <br> 规则3： WHERE子句中的连接顺序．<br>  ORACLE采用自下而上的顺序解析WHERE子句,根据这个原理,表之间的连接必须写在其他WHERE条件之前,<br>  那些可以过滤掉最大数量记录的条件必须写在WHERE子句的末尾.<br>  <br> 规则4： SELECT子句中避免使用 ' * '<br>  当你想在SELECT子句中列出所有的COLUMN时,使用动态SQL列引用 '*' 是一个方便的方法.<br>  不幸的是,这是一个非常低效的方法.<br>  实际上,ORACLE在解析的过程中, 会将'*' 依次转换成所有的列名, 这个工作是通过查询数据字典完成的, 这意味着将耗费更多的时间. <br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/menghe/" target="_blank">孟和</a> 2005-09-07 19:05 <a href="http://www.cnblogs.com/menghe/archive/2005/09/07/186686.html#231966#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 内存泄漏，走开！</title><link>http://www.cnblogs.com/menghe/archive/2005/08/26/222376.html#223557</link><dc:creator>孟和</dc:creator><author>孟和</author><pubDate>Fri, 26 Aug 2005 08:30:00 GMT</pubDate><guid>http://www.cnblogs.com/menghe/archive/2005/08/26/222376.html#223557</guid><description><![CDATA[启动脚本中各参数阐述：<br><a target="_new" href="http://www.5ivb.net/Info/128/Info38126/">http://www.5ivb.net/Info/128/Info38126/</a><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/menghe/" target="_blank">孟和</a> 2005-08-26 16:30 <a href="http://www.cnblogs.com/menghe/archive/2005/08/26/222376.html#223557#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 内存泄漏，走开！</title><link>http://www.cnblogs.com/menghe/archive/2005/08/26/222376.html#223555</link><dc:creator>孟和</dc:creator><author>孟和</author><pubDate>Fri, 26 Aug 2005 08:28:00 GMT</pubDate><guid>http://www.cnblogs.com/menghe/archive/2005/08/26/222376.html#223555</guid><description><![CDATA[<a target="_new" href="http://e-docs.bea.com/wls/docs81/perform/JVMTuning.html#1127089">http://e-docs.bea.com/wls/docs81/perform/JVMTuning.html#1127089</a><br><a target="_new" href="http://java.sun.com/docs/hotspot/gc/">http://java.sun.com/docs/hotspot/gc/</a><br><br>4)Solaris 系统中调整TCP参数<br>5)调整系统中用户进程空间大小<br>6)调整运行weblogic的JVM的内存Heap size,在2G以下，越大越好。 参数: -Xms:xxxM -Xmx:xxxM<br>7)调整JVM的Young Generation的size大小. 参数:-XX:NewSize=xxxm -XX:MaxNewSize=xxxm<br>8)调整JVM得Permanent Generation的Size大小. 参数: -XX:MaxPermSize=xxxm.<br>9)在支持的平台，打开Weblogic 的Native IO可以提高性能。<br>10)调整weblogic的Thread Count为合适的值。<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/menghe/" target="_blank">孟和</a> 2005-08-26 16:28 <a href="http://www.cnblogs.com/menghe/archive/2005/08/26/222376.html#223555#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 性能测试 之 JMeter</title><link>http://www.cnblogs.com/menghe/archive/2005/08/24/130481.html#221812</link><dc:creator>孟和</dc:creator><author>孟和</author><pubDate>Wed, 24 Aug 2005 06:52:00 GMT</pubDate><guid>http://www.cnblogs.com/menghe/archive/2005/08/24/130481.html#221812</guid><description><![CDATA[<a target="_new" href="http://matrix.foresee.cn:8080/forum/thread.jspa?forumID=7&amp;threadID=2366&amp;messageID=9853">http://matrix.foresee.cn:8080/forum/thread.jspa?forumID=7&amp;threadID=2366&amp;messageID=9853</a><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/menghe/" target="_blank">孟和</a> 2005-08-24 14:52 <a href="http://www.cnblogs.com/menghe/archive/2005/08/24/130481.html#221812#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 性能测试 之 JMeter</title><link>http://www.cnblogs.com/menghe/archive/2005/08/24/130481.html#221796</link><dc:creator>孟和</dc:creator><author>孟和</author><pubDate>Wed, 24 Aug 2005 06:41:00 GMT</pubDate><guid>http://www.cnblogs.com/menghe/archive/2005/08/24/130481.html#221796</guid><description><![CDATA[FAQ: OutOfMemory in WebLogic<br><br>From time to time I see questions like this:<br><br>Q: &quot;We are seeing OutOfMemory error in the WebLogic log, after that our app becomes inaccessible. The application is not under heavy load. In fact, we can see it even if the server is idle. WebLogic performance console shows that there is plenty of heap available. What's wrong?&quot;.<br><br>A: Given the symptoms above, the most likely cause of the problem is that the default size of the heap allocated by JVM for long living objects is often too small for a J2EE application is general and for one under WebLogic in particular. Weblogic uses caching a lot, so if you've got many EJBs, there will be plenty of long living object, and they may not fit into perm heap.<br><br>To fix this problem, you need to increase MaxPermSize JVM parameter. Go to WebLogic startup script and add -XMaxPermSize=64m or -XMaxPermSize=128m to JVM startup parameters. If you don't have an application memory leak, this change should take care about the problem.<br><br>Q: But how do I know if it's not an app memory leak?<br><br>A: The first symptom of the app memory leak is that in addition to OutOfMemory, you will see that the memory graph in WebLogic performance console hits the top, and forcing GC doesn't change anything. Fixing this problem is relatively easy. Get a good profiler tool, like OptimizeIt of JProfiler, and run a load test while memory profiling is enabled. Set up a filter to see only your classes and fined ones taking most of memory. It's likely that the same objects will have largest instance counts.<br><br>Tips for setting up a profiler.<br><br><br>First, set the JVM memory to as minimum as possible. If you expect WebLogic to run with 1Gb of JVM heap, set it to much lower values at which app can run. It can be 32M, 64M, depending on the app. Is sounds odd, but the reason is that the memory profiler catches JVM GC activities, and as there will be much more object in 1GB than in 64Mb, that GC under profiler will be dead slow, it can be hours, virtually. Set memory to as low as possible.<br><br>Second, turn off anything except the memory profiling. Memory profiling itself is slow, so you will want yo avoid any additional overhead in this case. Performance profiling is to be turned off in any case.<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/menghe/" target="_blank">孟和</a> 2005-08-24 14:41 <a href="http://www.cnblogs.com/menghe/archive/2005/08/24/130481.html#221796#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 性能测试 之 JMeter</title><link>http://www.cnblogs.com/menghe/archive/2005/08/23/130481.html#221159</link><dc:creator>孟和</dc:creator><author>孟和</author><pubDate>Tue, 23 Aug 2005 09:39:00 GMT</pubDate><guid>http://www.cnblogs.com/menghe/archive/2005/08/23/130481.html#221159</guid><description><![CDATA[在Windows系统中与WebLogic8集成使用Optimizeit工具<br><br>本文介绍如何在WebLogic8中集成使用Optimizeit工具(Profiler, Thread Debugger, Code Coverage)。您只需配置一次，就可完成Optimizeit所有工具与WebLogic的集成。以下用法只适用于Windows系统平台。<br><br>注意:本文中用代表Optimizeit的安装目录 (例如:\Optimizeit\OptimizeitSuite60),<br>代表WebLogic的安装目录 (例如D:\bea\weblogic81)。<br>配置WebLogic脚本<br>为了使WebLogic运行时启动Optimizeit，需要创建一个包含Optimizeit参数的启动WebLogic的脚本。<br>1、 将用于启动WebLogic服务器的脚本做一个备份。例如：<br>将D:\bea\user_projects\domains\collectdomain\ startWebLogic.cmd<br>备份为<br>D:\bea\user_projects\domains\collectdomain\ startWebLogic_OI.cmd<br><br>2、 用文本编辑器打开备份脚本。<br><br>3、 在备份脚本中找到如下的代码行：<br>&quot;%JAVA_HOME%\bin\java&quot; %JAVA_VM% %MEM_ARGS%<br>%JAVA_OPTIONS%<br>-Dweblogic.Name=%SERVER_NAME% -Dweblogic.management.username=%WLS_USER%<br>-Dweblogic.management.password=%WLS_PW%<br>-Dweblogic.ProductionModeEnabled=%PRODUCTION_MODE%<br>-Djava.security.policy=&quot;%WL_HOME%\server\lib\weblogic.policy&quot; weblogic.Server<br><br>4、 在这些启动WebLogic代码行之间插入如下代码：<br>set OPTIT_HOME=<br>set PATH=%OPTIT_HOME%\lib;%PATH%<br>set CLASSPATH=%OPTIT_HOME%\lib\optit.jar;%CLASSPATH%<br>set JAVA_OPTIONS=-Xrunoii:filter=&quot;%OPTIT_HOME%\filters\WebLogic.oif&quot;<br>-Xbootclasspath/a:&quot;%OPTIT_HOME%\lib\oibcp.jar&quot; %JAVA_OPTIONS<br><br>5、 在set OPTIT_HOME=处填写，即optimizeit的安装路径。例如：<br>set OPTIT_HOME=D:\Optimizeit\OptimizeitEntSuite60<br><br>Starting your application server with Optimizeit<br>启动带有Optimizeit的应用服务器<br>注意: 如果之前您已经安装了Optimizeit的任何产品,需要先停止运行Audit System Selector，然后通过/lib/OISelector.exe文件来启动Optimizeit。<br>1. 在任务栏上鼠标右键单击Audit System Selector图标，从弹出的菜单中选择你想要运行的工具。<br><br>2、使用startWebLogic_OI.cmd脚本来启动WebLogic。<br><br>Attaching from Optimizeit<br>一旦嵌有Optimizeit Audit System的WebLogic服务器启动，你就可以打开Optimizeit其中的任意一种工具从java虚拟机上获取有用的信息。<br>1、 确保你的应用服务器正在运行，并且你想测量的应用程序已经部署并且正在运行。<br>2、 标双击任务栏Audit System Selector图标，打开Audit System Selector。<br><br>从窗口的标签上选择用来测试的工具 (Profiler, Code Coverage,或者Thread Debugger), 然后单击Start。<br>3、 Optimizeit自动弹出编辑设置窗口，单击OK。<br>4、 单击菜单Program|Attach打开Attach对话框。<br>5、 输入机器名和端口后，然后单击Attach.。<br>默认情况下主机名为localhost，Profiler使用1470端口，Thread Debugger使用1471端口，Code Coverage使用1472端口。当连接上应用程序后工具会自动打开监视窗口。<br>6、 在完成测试后，从菜单Program下单击Detach停止监视。<br>当应用服务器监视完成时，应该将Optimizeit从应用服务器上分离开。<br>无论是连接还是分离Optimizeit，都不会影响应用服务器<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/menghe/" target="_blank">孟和</a> 2005-08-23 17:39 <a href="http://www.cnblogs.com/menghe/archive/2005/08/23/130481.html#221159#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 性能测试 之 JMeter</title><link>http://www.cnblogs.com/menghe/archive/2005/08/23/130481.html#220773</link><dc:creator>孟和</dc:creator><author>孟和</author><pubDate>Tue, 23 Aug 2005 03:15:00 GMT</pubDate><guid>http://www.cnblogs.com/menghe/archive/2005/08/23/130481.html#220773</guid><description><![CDATA[内存不足分析方法：<br><a target="_new" href="http://www.bea.com.cn/support_pattern/Investigating_Out_of_Memory_Memory_Leak_Pattern.html">http://www.bea.com.cn/support_pattern/Investigating_Out_of_Memory_Memory_Leak_Pattern.html</a><br>J2EE性能分析工具：<br>1、Optimizeit<br>2、JProbe Suite<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/menghe/" target="_blank">孟和</a> 2005-08-23 11:15 <a href="http://www.cnblogs.com/menghe/archive/2005/08/23/130481.html#220773#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 学习笔记 之 2004年11月</title><link>http://www.cnblogs.com/menghe/archive/2005/08/22/75196.html#220239</link><dc:creator>孟和</dc:creator><author>孟和</author><pubDate>Mon, 22 Aug 2005 07:28:00 GMT</pubDate><guid>http://www.cnblogs.com/menghe/archive/2005/08/22/75196.html#220239</guid><description><![CDATA[<a target="_new" href="http://www.network-theory.co.uk/docs/cvsmanual/index.html">http://www.network-theory.co.uk/docs/cvsmanual/index.html</a><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/menghe/" target="_blank">孟和</a> 2005-08-22 15:28 <a href="http://www.cnblogs.com/menghe/archive/2005/08/22/75196.html#220239#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: JAAS 之 Java 授权内幕</title><link>http://www.cnblogs.com/menghe/archive/2005/08/11/151994.html#212442</link><dc:creator>孟和</dc:creator><author>孟和</author><pubDate>Thu, 11 Aug 2005 04:57:00 GMT</pubDate><guid>http://www.cnblogs.com/menghe/archive/2005/08/11/151994.html#212442</guid><description><![CDATA[<a target="_new" href="http://www.mooreds.com/jaas.html">http://www.mooreds.com/jaas.html</a><br><a target="_new" href="http://www-128.ibm.com/developerworks/cn/java/j-jaas/">http://www-128.ibm.com/developerworks/cn/java/j-jaas/</a><br><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/menghe/" target="_blank">孟和</a> 2005-08-11 12:57 <a href="http://www.cnblogs.com/menghe/archive/2005/08/11/151994.html#212442#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 学习笔记 之 2004年11月</title><link>http://www.cnblogs.com/menghe/archive/2005/08/09/75196.html#210957</link><dc:creator>孟和</dc:creator><author>孟和</author><pubDate>Tue, 09 Aug 2005 09:29:00 GMT</pubDate><guid>http://www.cnblogs.com/menghe/archive/2005/08/09/75196.html#210957</guid><description><![CDATA[ Oracle维护常用SQL语句<br><br>1、查看表空间的名称及大小<br>select t.tablespace_name, round(sum(bytes/(1024*1024)),0) ts_size<br>from dba_tablespaces t, dba_data_files d<br>where t.tablespace_name = d.tablespace_name<br>group by t.tablespace_name;<br><br>2、查看表空间物理文件的名称及大小<br>select tablespace_name, file_id, file_name,<br>round(bytes/(1024*1024),0) total_space<br>from dba_data_files<br>order by tablespace_name;<br><br>3、查看回滚段名称及大小<br>select segment_name, tablespace_name, r.status,<br>(initial_extent/1024) InitialExtent,(next_extent/1024) NextExtent,<br>max_extents, v.curext CurExtent<br>From dba_rollback_segs r, v$rollstat v<br>Where r.segment_id = v.usn(+)<br>order by segment_name ;<br><br>4、查看控制文件<br>select name from v$controlfile;<br><br>5、查看日志文件<br>select member from v$logfile;<br><br>6、查看表空间的使用情况<br>select sum(bytes)/(1024*1024) as free_space,tablespace_name<br>from dba_free_space<br>group by tablespace_name;<br><br>SELECT A.TABLESPACE_NAME,A.BYTES TOTAL,B.BYTES USED, C.BYTES FREE,<br>(B.BYTES*100)/A.BYTES &quot;% USED&quot;,(C.BYTES*100)/A.BYTES &quot;% FREE&quot;<br>FROM SYS.SM$TS_AVAIL A,SYS.SM$TS_USED B,SYS.SM$TS_FREE C<br>WHERE A.TABLESPACE_NAME=B.TABLESPACE_NAME AND A.TABLESPACE_NAME=C.TABLESPACE_NAME;<br><br>7、查看数据库库对象<br>select owner, object_type, status, count(*) count# from all_objects group by owner, object_type, status;<br><br>8、查看数据库的版本　<br>Select version FROM Product_component_version<br>Where SUBSTR(PRODUCT,1,6)='Oracle';<br><br>9、查看数据库的创建日期和归档方式<br>Select Created, Log_Mode, Log_Mode From V$Database;<br><br>10、捕捉运行很久的SQL<br>column username format a12<br>column opname format a16<br>column progress format a8<br><br>select username,sid,opname,<br>round(sofar*100 / totalwork,0) || '%' as progress,<br>time_remaining,sql_text<br>from v$session_longops , v$sql<br>where time_remaining &lt;&gt; 0<br>and sql_address = address<br>and sql_hash_value = hash_value<br>/<br><br>11、查看数据表的参数信息<br>SELECT partition_name, high_value, high_value_length, tablespace_name,<br>pct_free, pct_used, ini_trans, max_trans, initial_extent,<br>next_extent, min_extent, max_extent, pct_increase, FREELISTS,<br>freelist_groups, LOGGING, BUFFER_POOL, num_rows, blocks,<br>empty_blocks, avg_space, chain_cnt, avg_row_len, sample_size,<br>last_analyzed<br>FROM dba_tab_partitions<br>--WHERE table_name = :tname AND table_owner = :towner<br>ORDER BY partition_position<br><br>12、查看还没提交的事务<br>select * from v$locked_object;<br>select * from v$transaction;<br><br>13、查找object为哪些进程所用<br>select<br>p.spid,<br>s.sid,<br>s.serial# serial_num,<br>s.username user_name,<br>a.type object_type,<br>s.osuser os_user_name,<br>a.owner,<br>a.object object_name,<br>decode(sign(48 - command),<br>1,<br>to_char(command), 'Action Code #' || to_char(command) ) action,<br>p.program oracle_process,<br>s.terminal terminal,<br>s.program program,<br>s.status session_status<br>from v$session s, v$access a, v$process p<br>where s.paddr = p.addr and<br>s.type = 'USER' and<br>a.sid = s.sid and<br>a.object='SUBSCRIBER_ATTR'<br>order by s.username, s.osuser<br><br>14、回滚段查看<br>select rownum, sys.dba_rollback_segs.segment_name Name, v$rollstat.extents<br>Extents, v$rollstat.rssize Size_in_Bytes, v$rollstat.xacts XActs,<br>v$rollstat.gets Gets, v$rollstat.waits Waits, v$rollstat.writes Writes,<br>sys.dba_rollback_segs.status status from v$rollstat, sys.dba_rollback_segs,<br>v$rollname where v$rollname.name(+) = sys.dba_rollback_segs.segment_name and<br>v$rollstat.usn (+) = v$rollname.usn order by rownum<br><br>15、耗资源的进程（top session）<br>select s.schemaname schema_name, decode(sign(48 - command), 1,<br>to_char(command), 'Action Code #' || to_char(command) ) action, status<br>session_status, s.osuser os_user_name, s.sid, p.spid , s.serial# serial_num,<br>nvl(s.username, '[Oracle process]') user_name, s.terminal terminal,<br>s.program program, st.value criteria_value from v$sesstat st, v$session s , v$process p<br>where st.sid = s.sid and st.statistic# = to_number('38') and ('ALL' = 'ALL'<br>or s.status = 'ALL') and p.addr = s.paddr order by st.value desc, p.spid asc, s.username asc, s.osuser asc<br><br>16、查看锁（lock）情况<br>select /*+ RULE */ ls.osuser os_user_name, ls.username user_name,<br>decode(ls.type, 'RW', 'Row wait enqueue lock', 'TM', 'DML enqueue lock', 'TX',<br>'Transaction enqueue lock', 'UL', 'User supplied lock') lock_type,<br>o.object_name object, decode(ls.lmode, 1, null, 2, 'Row Share', 3,<br>'Row Exclusive', 4, 'Share', 5, 'Share Row Exclusive', 6, 'Exclusive', null)<br>lock_mode, o.owner, ls.sid, ls.serial# serial_num, ls.id1, ls.id2<br>from sys.dba_objects o, ( select s.osuser, s.username, l.type,<br>l.lmode, s.sid, s.serial#, l.id1, l.id2 from v$session s,<br>v$lock l where s.sid = l.sid ) ls where o.object_id = ls.id1 and o.owner<br>&lt;&gt; 'SYS' order by o.owner, o.object_name<br><br>17、查看等待（wait）情况<br>SELECT v$waitstat.class, v$waitstat.count count, SUM(v$sysstat.value) sum_value<br>FROM v$waitstat, v$sysstat WHERE v$sysstat.name IN ('db block gets',<br>'consistent gets') group by v$waitstat.class, v$waitstat.count<br><br>18、查看sga情况<br>SELECT NAME, BYTES FROM SYS.V_$SGASTAT ORDER BY NAME ASC<br><br>19、查看catched object<br>SELECT owner, name, db_link, namespace,<br>type, sharable_mem, loads, executions,<br>locks, pins, kept FROM v$db_object_cache<br><br>20、查看V$SQLAREA<br>SELECT SQL_TEXT, SHARABLE_MEM, PERSISTENT_MEM, RUNTIME_MEM, SORTS,<br>VERSION_COUNT, LOADED_VERSIONS, OPEN_VERSIONS, USERS_OPENING, EXECUTIONS,<br>USERS_EXECUTING, LOADS, FIRST_LOAD_TIME, INVALIDATIONS, PARSE_CALLS, DISK_READS,<br>BUFFER_GETS, ROWS_PROCESSED FROM V$SQLAREA<br><br>21、查看object分类数量<br>select decode (o.type#,1,'INDEX' , 2,'TABLE' , 3 , 'CLUSTER' , 4, 'VIEW' , 5 ,<br>'SYNONYM' , 6 , 'SEQUENCE' , 'OTHER' ) object_type , count(*) quantity from<br>sys.obj$ o where o.type# &gt; 1 group by decode (o.type#,1,'INDEX' , 2,'TABLE' , 3<br>, 'CLUSTER' , 4, 'VIEW' , 5 , 'SYNONYM' , 6 , 'SEQUENCE' , 'OTHER' ) union select<br>'COLUMN' , count(*) from sys.col$ union select 'DB LINK' , count(*) from<br><br>22、按用户查看object种类<br>select u.name schema, sum(decode(o.type#, 1, 1, NULL)) indexes,<br>sum(decode(o.type#, 2, 1, NULL)) tables, sum(decode(o.type#, 3, 1, NULL))<br>clusters, sum(decode(o.type#, 4, 1, NULL)) views, sum(decode(o.type#, 5, 1,<br>NULL)) synonyms, sum(decode(o.type#, 6, 1, NULL)) sequences,<br>sum(decode(o.type#, 1, NULL, 2, NULL, 3, NULL, 4, NULL, 5, NULL, 6, NULL, 1))<br>others from sys.obj$ o, sys.user$ u where o.type# &gt;= 1 and u.user# =<br>o.owner# and u.name &lt;&gt; 'PUBLIC' group by u.name order by<br>sys.link$ union select 'CONSTRAINT' , count(*) from sys.con$<br><br>23、有关connection的相关信息<br>1）查看有哪些用户连接<br>select s.osuser os_user_name, decode(sign(48 - command), 1, to_char(command),<br>'Action Code #' || to_char(command) ) action, p.program oracle_process,<br>status session_status, s.terminal terminal, s.program program,<br>s.username user_name, s.fixed_table_sequence activity_meter, '' query,<br>0 memory, 0 max_memory, 0 cpu_usage, s.sid, s.serial# serial_num<br>from v$session s, v$process p where s.paddr=p.addr and s.type = 'USER'<br>order by s.username, s.osuser<br>2）根据v.sid查看对应连接的资源占用等情况<br>select n.name,<br>v.value,<br>n.class,<br>n.statistic#<br>from v$statname n,<br>v$sesstat v<br>where v.sid = 71 and<br>v.statistic# = n.statistic#<br>order by n.class, n.statistic#<br>3）根据sid查看对应连接正在运行的sql<br>select /*+ PUSH_SUBQ */<br>command_type,<br>sql_text,<br>sharable_mem,<br>persistent_mem,<br>runtime_mem,<br>sorts,<br>version_count,<br>loaded_versions,<br>open_versions,<br>users_opening,<br>executions,<br>users_executing,<br>loads,<br>first_load_time,<br>invalidations,<br>parse_calls,<br>disk_reads,<br>buffer_gets,<br>rows_processed,<br>sysdate start_time,<br>sysdate finish_time,<br>'&gt;' || address sql_address,<br>'N' status<br>from v$sqlarea<br>where address = (select sql_address from v$session where sid = 71)<br><br>24、查询表空间使用情况select a.tablespace_name &quot;表空间名称&quot;,<br>100-round((nvl(b.bytes_free,0)/a.bytes_alloc)*100,2) &quot;占用率(%)&quot;,<br>round(a.bytes_alloc/1024/1024,2) &quot;容量(M)&quot;,<br>round(nvl(b.bytes_free,0)/1024/1024,2) &quot;空闲(M)&quot;,<br>round((a.bytes_alloc-nvl(b.bytes_free,0))/1024/1024,2) &quot;使用(M)&quot;,<br>Largest &quot;最大扩展段(M)&quot;,<br>to_char(sysdate,'yyyy-mm-dd hh24:mi:ss') &quot;采样时间&quot;<br>from (select f.tablespace_name,<br>sum(f.bytes) bytes_alloc,<br>sum(decode(f.autoextensible,'YES',f.maxbytes,'NO',f.bytes)) maxbytes<br>from dba_data_files f<br>group by tablespace_name) a,<br>(select f.tablespace_name,<br>sum(f.bytes) bytes_free<br>from dba_free_space f<br>group by tablespace_name) b,<br>(select round(max(ff.length)*16/1024,2) Largest,<br>ts.name tablespace_name<br>from sys.fet$ ff, sys.file$ tf,sys.ts$ ts<br>where ts.ts#=ff.ts# and ff.file#=tf.relfile# and ts.ts#=tf.ts#<br>group by ts.name, tf.blocks) c<br>where a.tablespace_name = b.tablespace_name and a.tablespace_name = c.tablespace_name<br><br>25、 查询表空间的碎片程度<br>select tablespace_name,count(tablespace_name) from dba_free_space group by tablespace_name<br>having count(tablespace_name)&gt;10;<br><br>alter tablespace name coalesce;<br>alter table name deallocate unused;<br><br>create or replace view ts_blocks_v as<br>select tablespace_name,block_id,bytes,blocks,'free space' segment_name from dba_free_space<br>union all<br>select tablespace_name,block_id,bytes,blocks,segment_name from dba_extents;<br><br>select * from ts_blocks_v;<br><br>select tablespace_name,sum(bytes),max(bytes),count(block_id) from dba_free_space<br>group by tablespace_name; <br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/menghe/" target="_blank">孟和</a> 2005-08-09 17:29 <a href="http://www.cnblogs.com/menghe/archive/2005/08/09/75196.html#210957#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: ORACLE数据库启动关闭</title><link>http://www.cnblogs.com/menghe/archive/2005/08/09/186686.html#210925</link><dc:creator>孟和</dc:creator><author>孟和</author><pubDate>Tue, 09 Aug 2005 08:55:00 GMT</pubDate><guid>http://www.cnblogs.com/menghe/archive/2005/08/09/186686.html#210925</guid><description><![CDATA[二、用exp、imp命令做逻辑备份<br><br>1、输出export<br><br>基本命令：一般用交互方式，在oracle用户提示符下键入<br><br>% exp user/password &#237;<br><br>exp 模式<br><br>①、table:export 某个用户模式下指定的table ;而不是所有的table ,而且不包括cluster定义；<br><br>②、user: export一个用户模式下所有的对象(如表、数据、索引等)；<br><br>export 示例 user mode：<br><br>③、full database: export database 中所有的对象，执行这个必须被给<br><br>exp-full-database角色。<br><br>export 示例<br><br>A、dababase mode<br><br>% exp system/manager<br><br>... ... ...<br><br>enter array fetch buffer size :4096&gt;(return)<br><br>export file :expdat.dmp &gt;dba.dmp<br><br>e(ntire database),u(sers),t (ables):u&gt;e<br><br>export grants (y/n):y&gt;y<br><br>export table data (y/n):y&gt;y<br><br>compress extents(y/n):y&gt;y<br><br>B、table mode<br><br>% exp system/manager<br><br>... ... ...<br><br>enter array fetch buffer size :4096&gt;(return)<br><br>export file :expdat.dmp &gt;dba.dmp<br><br>e(ntire database),u(sers),t (ables):u&gt;t<br><br>export grants (y/n):y&gt;y<br><br>export table data (y/n):y&gt;y<br><br>compress extents(y/n):y&gt;y<br><br>About to exp specified tables ...<br><br>Table to be exported (RETURN quit) &gt; emp ( 输入要输出的表名 )<br><br>.... exporting table EMP 14 rows exported<br><br>About to exp specified tables ...<br><br>Table to be exported (RETURN quit) &gt; 如此循环下去，按回车退出<br><br>2、输入import<br><br>前提：在database建立之后，必须运行oracle-home /rdbms /admin/catexp.sql才能使用export,import。<br><br>权限：要使用 import ,必须要有create session 权限。如果要import 其它用户的表，必须要有imp_full_databade角色。(运行了catexp.sql后，dba就有了imp_full_database角色)。<br><br>字符：与export有关，只要两台机器的字符设置一样就没问题。<br><br>基本命令：一般用交互方式，在oracle用户提示符下键入<br><br>% imp user/password<br><br>imp 模式<br><br>①、table:允许用户import在用户模式下指定的table ,而不是所有的table;<br><br>②、user:允许用户import 属于用户本身所有的对象；<br><br>③、full database:允许用户import所有的database对象，必须被给予<br><br>imp-full-database角色。<br><br>import 示例<br><br>imp system/manager<br><br>...<br><br>import file :expdat.dmp&gt;<br><br>enter insert buffer size (minimum is 4096)30720&gt;<br><br>export file created by export:v 07.01.03<br><br>list contents of import file only(yds /no):no&gt;<br><br>ignore create error due to obyict existence (yes /no):yes &gt;<br><br>import grants (yes /no):yes&gt;<br><br>import table data (yes /no):yes &gt;<br><br>import entire export file (yes /no):yes &gt;no<br><br>注意事项：<br><br>①、import 的权限必须大于、等于export的权限；<br><br>②、 对于long colums 由于对内存的特殊要求(需要地址连续的内存区)export 和 import有时不会成功；<br><br>③、对于备份到磁带上，export 和import 建议用同一台磁带机。<br><br>三、用tar命令做物理备份<br><br>1、#su - oracle<br><br>2、% tar cvf /dev/rmt/0 .<br><br>把oracle 路径下所有文件备份到磁带机上<br><br>3、% tar xvf /dev/rmt/0<br><br>把备份磁带上所有文件恢复进oracle 当前路径<br><br>4、% tar tvf /dev/rmt/0<br><br>查看磁带上有些什么文件<br><br>四、数据库的扩充<br><br>1、增加一个表空间<br><br>当我们要开发某个大型的应用程序时，最好建立一个相应的表空间。<br><br>命令示例：<br><br>SVRMGR&gt;create tablespace application datafile<br><br>‘/usr/oracle/dbs/application.dbf’ size 3M<br><br>针对具体情况增加回滚和临时表空间<br><br>命令示例：<br><br>SVRMGR&gt;create rollback tablespace rbs8 datafile<br><br>‘/usr/oracle/dbs/rbs8.dbf’ size 4M<br><br>SVRMGR&gt;create tablespace tmp8 datafile<br><br>‘/usr/oracle/dbs/tmp8.dbf’ size 550K<br><br>回滚和临时表空间用完后，可删除或使它offline<br><br>SVRMGR&gt;drop tablespace rbs8;<br><br>SVRMGR&gt;drop tablespaces tmp8;<br><br>SVRMGR&gt;alter tablespace rbs offline;<br><br>SVRMGR&gt;alter tablespace tmp8 offline;<br><br>建立回滚段举例：<br><br>SVRMGR&gt;create rollback segment rs11 tablespace tmp8 ;<br><br>SVRMGR&gt;alter rollback segment rs11 online;<br><br>SVRMGR&gt;alter rollback segment rs11 offline;<br><br>2、增加某个表空间的大小<br><br>当一个表空间的大小不能满足工作需要时，应该扩充表空间。<br><br>举例：<br><br>SVRMGR&gt;alter tablespace system<br><br>add datafile ‘/usr/oracle/dbs/sys338.dbf’ size 3M;<br><br>五、增加oracle的用户，并给用户授权<br><br>1、增加oracle的用户, 并给用户授权<br><br>举例：<br><br>SVRMGR&gt;create user newuser identified by userpasswd<br><br>default tablespace application<br><br>temporary tablespace tmp8;<br><br>SVRMGR&gt;grant connect to newuser;<br><br>SVRMGR&gt;grant resource to newuser;<br><br>SVRMGR&gt;grant update on emp to newuser;<br><br>2、增加oracle的角色<br><br>oracle的缺省角色有connect、resource、dba。它是一组可以分配给其它role<br><br>或用户的权限总和，connect 有8个权限，resource 有5个权限，dba有77<br><br>个权限。给一般连接用户赋connect，给一般编程人员赋connect加resource,<br><br>只有数据库管理员才有dba的权限。<br><br>①创建一个角色<br><br>SVRMGR&gt;create role newrole identified by rolepasswd;<br><br>②给角色赋权限<br><br>SVRMGR&gt;grant select on all table to newrolle;<br><br>SVRMGR&gt;grant connect to newrole with admin option;<br><br>3、中断用户同oracle的连接<br><br>当oracle数据库要关机或某个用户占有的大量的资源需要被释放时，dba<br><br>需中断用户同oracle的连接。<br><br>①、SVRMGR&gt;select sid,serial#,username from v$session;<br><br>②、SVRMGR&gt;alter system kill session ‘interger1,interger2’;<br><br>interger1,interger2分别对应于sid和serial# <br><br><a target="_new" href="http://www.dreamdak.com/show.aspx?id=706&amp;cid=159">http://www.dreamdak.com/show.aspx?id=706&amp;cid=159</a><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/menghe/" target="_blank">孟和</a> 2005-08-09 16:55 <a href="http://www.cnblogs.com/menghe/archive/2005/08/09/186686.html#210925#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: Solaris的硬件相关命令</title><link>http://www.cnblogs.com/menghe/archive/2005/08/05/183263.html#208327</link><dc:creator>孟和</dc:creator><author>孟和</author><pubDate>Fri, 05 Aug 2005 07:32:00 GMT</pubDate><guid>http://www.cnblogs.com/menghe/archive/2005/08/05/183263.html#208327</guid><description><![CDATA[prstat -- 处理器统计<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/menghe/" target="_blank">孟和</a> 2005-08-05 15:32 <a href="http://www.cnblogs.com/menghe/archive/2005/08/05/183263.html#208327#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 高晔钧的留言</title><link>http://www.cnblogs.com/menghe/archive/2005/05/06/149447.html#150066</link><dc:creator>孟和</dc:creator><author>孟和</author><pubDate>Fri, 06 May 2005 10:10:00 GMT</pubDate><guid>http://www.cnblogs.com/menghe/archive/2005/05/06/149447.html#150066</guid><description><![CDATA[应该是03年8月份就建立这个BLOG了吧，但是后来觉得当时写的那两篇日记太龌嵯了，所以删之！：）<br>至于后来又重新把它拿出来用就是去年11月开始实习后的事，当时想的是用它来做学习笔记的。<br>到现在发现其实很多东东都是从别人那里抄来的。偶尔自己写点日记、心得……<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/menghe/" target="_blank">孟和</a> 2005-05-06 18:10 <a href="http://www.cnblogs.com/menghe/archive/2005/05/06/149447.html#150066#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 集成测试  之 HttpUnit</title><link>http://www.cnblogs.com/menghe/archive/2005/05/06/98935.html#150064</link><dc:creator>孟和</dc:creator><author>孟和</author><pubDate>Fri, 06 May 2005 10:06:00 GMT</pubDate><guid>http://www.cnblogs.com/menghe/archive/2005/05/06/98935.html#150064</guid><description><![CDATA[TO  Simon：<br>    我对HttpUnit是业余了解的水平而已，我们这边的WEB测试主要靠手：）<br>    JMeter我们倒是用来做压力测试的。<br>    我基本就是做应用，对比较底层的东西了解的还是太少，你说的测试IO流的问题没太明白。我们做单元测试一般都是JUnit＋Jakarta Commons Logging＋Log4j，这样把需要输出的东西都打到日志里面看看。具体的你可以看看Log4j的文档，可以自定义输出流。最好不要直接System.out，影响编码质量^_^<br>    回头在MSN上和你切磋吧。<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/menghe/" target="_blank">孟和</a> 2005-05-06 18:06 <a href="http://www.cnblogs.com/menghe/archive/2005/05/06/98935.html#150064#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 集成测试  之 HttpUnit</title><link>http://www.cnblogs.com/menghe/archive/2005/05/03/98935.html#149005</link><dc:creator>Simon</dc:creator><author>Simon</author><pubDate>Tue, 03 May 2005 04:41:00 GMT</pubDate><guid>http://www.cnblogs.com/menghe/archive/2005/05/03/98935.html#149005</guid><description><![CDATA[你对HttpUnit研究的很深入吗？另外，请教一下，操作IO流类的函数或者对象，或者就是需要System.out的东西怎么进行单元测试？<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/menghe/" target="_blank">Simon</a> 2005-05-03 12:41 <a href="http://www.cnblogs.com/menghe/archive/2005/05/03/98935.html#149005#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 托娅的留言</title><link>http://www.cnblogs.com/menghe/archive/2005/04/16/138878.html#138965</link><dc:creator>孟和</dc:creator><author>孟和</author><pubDate>Sat, 16 Apr 2005 11:47:00 GMT</pubDate><guid>http://www.cnblogs.com/menghe/archive/2005/04/16/138878.html#138965</guid><description><![CDATA[呵呵，好的，等你建了博客一定第一时间告诉我：）<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/menghe/" target="_blank">孟和</a> 2005-04-16 19:47 <a href="http://www.cnblogs.com/menghe/archive/2005/04/16/138878.html#138965#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 移动数据增值业务综述</title><link>http://www.cnblogs.com/menghe/archive/2005/03/31/129155.html#129157</link><dc:creator>孟和</dc:creator><author>孟和</author><pubDate>Thu, 31 Mar 2005 04:42:00 GMT</pubDate><guid>http://www.cnblogs.com/menghe/archive/2005/03/31/129155.html#129157</guid><description><![CDATA[多为拼凑，欢迎大家指正！<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/menghe/" target="_blank">孟和</a> 2005-03-31 12:42 <a href="http://www.cnblogs.com/menghe/archive/2005/03/31/129155.html#129157#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 浅  谈 无 线 传 感 器 网 络</title><link>http://www.cnblogs.com/menghe/archive/2005/03/24/96070.html#124957</link><dc:creator>sditman</dc:creator><author>sditman</author><pubDate>Thu, 24 Mar 2005 08:12:00 GMT</pubDate><guid>http://www.cnblogs.com/menghe/archive/2005/03/24/96070.html#124957</guid><description><![CDATA[good job! <br><br>sditman@sdai.edu.cn<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/menghe/" target="_blank">sditman</a> 2005-03-24 16:12 <a href="http://www.cnblogs.com/menghe/archive/2005/03/24/96070.html#124957#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>
