天天看點

WebLogic重新開機



1,使用者名密碼登入。

2,切換到weblogic的bin目錄下

 cd bea/user_projects/domains/base_domain/bin/

3,先停止伺服器

 ./stopweblogic.sh

  檢視是否完全關閉

   ps -ef|grep tomcat2

如果weblogic的線程還存在,則強制殺掉

 tomcat2 17141 17098  0   1月 21 ?    76:35 /export/home/tomcat2/bea/jdk160_05/bin/java -server -xms1024m -xmx1024m -xx:max

 kill -9 17141   

  exit;

4,啟動伺服器

 (1) nohup ./startweblogic.sh &

 (2)./startweblogic.sh &

   按下 "ctrl + z"

   輸入 "bg" 程式進入背景運作

   exit;logout;

 (3)

  鍵入 ./startweblogic.sh

  #進行互動操作 ...

  按下 "ctrl + z"

  輸入 "bg" 程式進入背景運作

******************************

**********

cd /export/home/tomcat2/jdk1.6/jdk1.6.0_16/bin/

*************************

檢視cup使用情況

prstat -a

檢視記憶體

prtconf | grep 'memory'