在AIX 5.3高版本、AIX 6.1和AIX7中,安装完操作系统后,细心的同学们都会发现,有两个java进程会自动启动,如下所示。
- root@aix6test:/># ps -ef|grep java
- root 5570766 1310964 0 Apr 19 - 3:39 /var/opt/tivoli/ep/_jvm/jre/bin/java -Xmx384m -Xminf0.01 -Xmaxf0.4 -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Xbootclasspath/a:/var/opt/tivoli/ep/runtime/core/eclipse/plugins/com.ibm.rcp.base_6.2.1.20091117-1800/rcpbootcp.jar:/var/opt/tivoli/ep/lib/com.ibm.logging.icl_1.1.1.jar:/var/opt/tivoli/ep/lib/jaas2zos.jar:/var/opt/tivoli/ep/lib/jaasmodule.jar:/var/opt/tivoli/ep/lib/lwinative.jar:/var/opt/tivoli/ep/lib/lwinl.jar:/var/opt/tivoli/ep/lib/lwirolemap.jar:/var/opt/tivoli/ep/lib/lwisecurity.jar:/var/opt/tivoli/ep/lib/lwitools.jar:/var/opt/tivoli/ep/lib/passutils.jar:../../runtime/agent/lib/cas-bootcp.jar -Xverify:none -cp eclipse/launch.jar:eclipse/startup.jar:/var/opt/tivoli/ep/runtime/core/eclipse/plugins/com.ibm.rcp.base_6.2.1.20091117-1800/launcher.jar com.ibm.lwi.LaunchLWI
- pconsole 6160612 2359458 0 Apr 19 - 1:29 /usr/java5/bin/java -Xmx512m -Xms20m -Xscmx10m -Xshareclasses -Dfile.encoding=UTF-8 -Xbootclasspath/a:/pconsole/lwi/runtime/core/eclipse/plugins/com.ibm.rcp.base_6.2.1.20091117-1800/rcpbootcp.jar:/pconsole/lwi/lib/ISCJaasModule.jar:/pconsole/lwi/lib/com.ibm.logging.icl_1.1.1.jar:/pconsole/lwi/lib/jaas2zos.jar:/pconsole/lwi/lib/jaasmodule.jar:/pconsole/lwi/lib/lwinative.jar:/pconsole/lwi/lib/lwinl.jar:/pconsole/lwi/lib/lwirolemap.jar:/pconsole/lwi/lib/lwisecurity.jar:/pconsole/lwi/lib/lwitools.jar:/pconsole/lwi/lib/passutils.jar -Xverify:none -cp eclipse/launch.jar:eclipse/startup.jar:/pconsole/lwi/runtime/core/eclipse/plugins/com.ibm.rcp.base_6.2.1.20091117-1800/launcher.jar com.ibm.lwi.LaunchLWI
先来看看进程pconsole,有这个进程主要是因为安装了sysmgt.pconsole.rte这个包,与之相关是下面这个服务:
点击(此处)折叠或打开
- root@aix6test:/># lssrc -s pconsole
- Subsystem Group PID Status
- pconsole pconsole 5767378 active
这个pconsole其实是提供了一个Web的系统管理界面,可以通过下面的URL对系统进行管理:
这两个java进程,其实都是system directer 提供接口的进程,如果您没有system directer的话可以关闭它,关闭的方法很简单:
# stopsrc -s pconsole
如果重启后不想自动启动它,可以将/etc/inittab中pconsole:2:once:/usr/bin/startsrc -s pconsole > /dev/null 2>&1去掉
另一个进程是IBM Systems Director agents,可以采用下面的方法永久停止:
/opt/ibm/director/agent/runtime/agent/bin/endpoint.sh stop
/opt/ibm/director/agent/runtime/nonstop/bin/installnonstop.sh -uninstallservice
停止platform agent:
stopsrc -s platform_agent
编辑/etc/inittab文件将下面的启动项去掉:
platform_agent:2:once:/usr/bin/startsrc -s platform_agent >/dev/null 2>&1
如果没有其他应用依赖于cimserver,那可以把cimserver也停了:
stopsrc -s cimsys
编辑/etc/inittab文件将下面的启动项去掉::
cimservices:2:once:/usr/bin/startsrc -s cimsys >/dev/null 2>&1
阅读(6120) | 评论(0) | 转发(0) |