About cookies on this site Our websites require some cookies to function properly (required). In addition, other cookies may be used with your consent to analyze site usage, improve the user experience and for advertising. For more information, please review your options. By visiting our website, you agree to our processing of information as described in IBM’sprivacy statement. To provide a smooth navigation, your cookie preferences will be shared across the IBM web domains listed here.
Question & Answer
Question
How can I check and administer the services of my Websphere Product Center or MDM Server for PIM services using the command line?
Answer
The Java class RootAdmin has a public interface that allows you to provide command options to get certain information about each service type and to perform specific activities that are associated with each service.
Besides the administration of the services, the following useful information can be captured by using the public interface of the RootAdmin class.
- memory usage (service and connection pool)
- connection pool status (size of connection pool, current connection usage)
- database pool status (connections in use, maximum connections possible)
- thread names and count per service / process
- session cache information
Running the RootAdmin class without options, shows the 'Usage Information':
$JAVA_RT com.ibm.ccd.admin.common.RootAdmin
Usage: RootAdmin -cmd=<cmd> [-host=<host>] [-svc=<svc name>] [-type=<type>]
See config file: <WPC INSTALL DIR>/etc/default/admin_properties.xml
1/ to start a service: -cmd=start -host=<host> -svc=<svc name> -type=<svc type>
where <svc type> is:
-admin
-appsvr
-eventprocessor
-queuemanager
-scheduler
-workflowengine
and <host> is:
-jonas1
2/ to stop a service: -cmd=stop -svc=<svc name>
3/ to stop a thread: -cmd=stop_thread -svc=<svc name> -thread=<thread number>
4/ to abort a service: -cmd=abort -svc=<svc name>
5/ to check a service: -cmd=check -svc=<svc name>
6/ to get the status of a service: -cmd=status -svc=<svc name>
7/ to get the list of services: -cmd=rmi_status
8/ to unbind a service: -cmd=unbind -svc=<svc name>
9/ to stop all local services: -cmd=stop_local
The service name for the option "-svc" can be found by going to $TOP/logs/
here you will see the directory names for the respective service types that include also the host name.
example:
The directory for the appserver process under $TOP/logs has the name "appsvr_Jonas1", then this name needs to be supplied to the option "-svc"
$JAVA_RT com.ibm.ccd.admin.common.RootAdmin -cmd=status -svc=appsvr_Jonas1
The resulting HTML Output from this command can be put into a file and is readable by an Internet Browser.
example:

[{"Product":{"code":"SSNJBH","label":"WebSphere Product Center"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"System Administration","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"}],"Version":"5.3;6.0;All Versions","Edition":"All Editions","Line of Business":{"code":"LOB10","label":"Data and AI"}}]
Was this topic helpful?
Document Information
More support for:
WebSphere Product Center
Software version:
5.3, 6.0, All Versions
Operating system(s):
AIX, HP-UX, Linux, Solaris
Document number:
389395
Modified date:
16 June 2018
UID
swg21389092
Manage My Notification Subscriptions