码迷,mamicode.com
首页 > 数据库 > 详细

oracle 11.2版本.sysman/log下emdb.nohup文件偏大,如何解决?

时间:2015-10-20 12:11:23      阅读:1643      评论:0      收藏:0      [点我收藏+]

标签:

参考文章

实验:

1、查看当前emctl status dbconsole为runing状态

2、关闭emctl stop dbconsole

3、删除/u01/app/oracle/product/11.2.0/db_1/gtone.localdomain_CQRCB/sysman/log目录下emdb.nohup文件

4、重新启动emctl start dbconsole

5、查看自动生成了emdb.nohup文件

 

论证emdb.nohup文件与emctl的相关性

1、通过fuser命令,查看

[root@gtone ~]# fuser  /u01/app/oracle/product/11.2.0/db_1/gtone.localdomain_CQRCB/sysman/log/emdb.nohup 
/u01/app/oracle/product/11.2.0/db_1/gtone.localdomain_CQRCB/sysman/log/emdb.nohup: 11733 11753 11763

2、通过ps -ef | grep oracle命令查看进程信息

[root@gtone ~]# ps -ef | grep oracle
oracle    3383     1  0 Aug20 ?        00:01:17 /u01/app/oracle/product/11.2.0/db_1/bin/tnslsnr LISTENER -inherit
oracle    3507     1  0 Aug20 ?        00:02:02 ora_pmon_CQRCB
oracle    3509     1  0 Aug20 ?        00:02:22 ora_psp0_CQRCB
oracle    3511     1  0 Aug20 ?        00:01:39 ora_vktm_CQRCB
oracle    3515     1  0 Aug20 ?        00:00:03 ora_gen0_CQRCB
oracle    3517     1  0 Aug20 ?        00:00:05 ora_diag_CQRCB
oracle    3519     1  0 Aug20 ?        00:00:22 ora_dbrm_CQRCB
oracle    3521     1  0 Aug20 ?        02:48:10 ora_dia0_CQRCB
oracle    3523     1  0 Aug20 ?        00:00:16 ora_mman_CQRCB
oracle    3525     1  0 Aug20 ?        00:36:29 ora_dbw0_CQRCB
oracle    3527     1  0 Aug20 ?        00:19:29 ora_lgwr_CQRCB
oracle    3529     1  0 Aug20 ?        00:17:00 ora_ckpt_CQRCB
oracle    3531     1  0 Aug20 ?        00:06:33 ora_smon_CQRCB
oracle    3533     1  0 Aug20 ?        00:00:06 ora_reco_CQRCB
oracle    3535     1  0 Aug20 ?        00:16:51 ora_mmon_CQRCB
oracle    3537     1  0 Aug20 ?        00:56:07 ora_mmnl_CQRCB
oracle    3539     1  0 Aug20 ?        00:00:02 ora_d000_CQRCB
oracle    3541     1  0 Aug20 ?        00:00:02 ora_s000_CQRCB
oracle    3561     1  0 Aug20 ?        00:00:02 ora_qmnc_CQRCB
oracle    3625     1  0 Aug20 ?        00:04:05 ora_cjq0_CQRCB
oracle    3737     1  0 Aug20 ?        00:00:27 ora_q001_CQRCB
oracle    3905     1  0 Aug20 ?        00:00:07 ora_smco_CQRCB
root      6426  3119  0 09:55 ?        00:00:00 sshd: oracle [priv]
oracle    6428  6426  0 09:55 ?        00:00:00 sshd: oracle@pts/0
oracle    6429  6428  0 09:55 pts/0    00:00:00 -bash
oracle    8991     1  0 10:04 ?        00:00:00 ora_w001_CQRCB
oracle    9433     1  0 10:09 ?        00:00:00 ora_w003_CQRCB
oracle   11733     1  0 10:17 pts/0    00:00:00 /u01/app/oracle/product/11.2.0/db_1/perl/bin/perl /u01/app/oracle/product/11.2.0/db_1/bin/emwd.pl dbconsole /u01/app/oracle/product/11.2.0/db_1/gtone.localdomain_CQRCB/sysman/log/emdb.nohup
oracle   11753 11733  9 10:17 pts/0    00:00:19 /u01/app/oracle/product/11.2.0/db_1/jdk/bin/java -server -Xmx384M -XX:MaxPermSize=400M -XX:MinHeapFreeRatio=20 -XX:MaxHeapFreeRatio=40 -DORACLE_HOME=/u01/app/oracle/product/11.2.0/db_1 -Doracle.home=/u01/app/oracle/product/11.2.0/db_1/oc4j -Doracle.oc4j.localhome=/u01/app/oracle/product/11.2.0/db_1/gtone.localdomain_CQRCB/sysman -DEMSTATE=/u01/app/oracle/product/11.2.0/db_1/gtone.localdomain_CQRCB -Doracle.j2ee.dont.use.memory.archive=true -Djava.protocol.handler.pkgs=HTTPClient -Doracle.security.jazn.config=/u01/app/oracle/product/11.2.0/db_1/oc4j/j2ee/OC4J_DBConsole_gtone.localdomain_CQRCB/config/jazn.xml -Djava.security.policy=/u01/app/oracle/product/11.2.0/db_1/oc4j/j2ee/OC4J_DBConsole_gtone.localdomain_CQRCB/config/java2.policy -Djavax.net.ssl.KeyStore=/u01/app/oracle/product/11.2.0/db_1/sysman/config/OCMTrustedCerts.txt-Djava.security.properties=/u01/app/oracle/product/11.2.0/db_1/oc4j/j2ee/home/config/jazn.security.props -DEMDROOT=/u01/app/oracle/product/11.2.0/db_1/gtone.localdomain_CQRCB -Dsysman.md5password=true -Drepapi.oracle.home=/u01/app/oracle/product/11.2.0/db_1 -Ddisable.checkForUpdate=true -Doracle.sysman.ccr.ocmSDK.websvc.keystore=/u01/app/oracle/product/11.2.0/db_1/jlib/emocmclnt.ks -Dice.pilots.html4.ignoreNonGenericFonts=true -Djava.awt.headless=true -jar /u01/app/oracle/product/11.2.0/db_1/oc4j/j2ee/home/oc4j.jar -config /u01/app/oracle/product/11.2.0/db_1/oc4j/j2ee/OC4J_DBConsole_gtone.localdomain_CQRCB/config/server.xml
oracle   11763 11733  0 10:17 pts/0    00:00:00 /u01/app/oracle/product/11.2.0/db_1/bin/emagent
oracle   11789     1  1 10:17 ?        00:00:03 oracleCQRCB (LOCAL=NO)
oracle   11822     1  0 10:17 ?        00:00:00 oracleCQRCB (LOCAL=NO)
oracle   11971     1  0 10:17 ?        00:00:00 oracleCQRCB (LOCAL=NO)
oracle   11991     1  0 10:17 ?        00:00:00 oracleCQRCB (LOCAL=NO)
oracle   12034     1  0 10:17 ?        00:00:00 oracleCQRCB (LOCAL=NO)
oracle   12037     1  0 10:17 ?        00:00:00 oracleCQRCB (LOCAL=NO)
oracle   12040     1  0 10:17 ?        00:00:00 oracleCQRCB (LOCAL=NO)
oracle   12043     1  0 10:17 ?        00:00:00 oracleCQRCB (LOCAL=NO)
oracle   12054     1  0 10:17 ?        00:00:00 oracleCQRCB (LOCAL=NO)
root     12935 12865  0 10:21 pts/5    00:00:00 grep oracle
oracle   19270     1  0 Sep14 ?        00:00:00 ora_q003_CQRCB
[root@gtone ~]# 

 3、清除emdb.log文件,没有问题.

 

oracle 11.2版本.sysman/log下emdb.nohup文件偏大,如何解决?

标签:

原文地址:http://www.cnblogs.com/arcer/p/4894133.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!