Administration guide > Monitor the environment > Monitoring with the xsAdmin sample utility



Attributes and arguments for xsadmin utility

You have several different options when specifying attributes for the xsadmin utility, based on the requirements and scope.


Supported attributes in properties file or from command line

[Fix 1 and later] For each of the following pairs: (1) is for the properties file and (2) is an equivalent specification for the command line:


Help text for utility with command: ./xsadmin -h

The following arguments are optional:


Verbose option

Use the xsadmin verbose option to troubleshoot problems: xsadmin -v, which lists all parameters you have set. For example, if you set a value in a properties file but have forgotten it, the verbose option retrieves it: It gives you all of the values for all scopes.

The following text is an example of output when using the verbose option from the command line.

Command line specified arguments
**********************************
XSADMIN_USERNAME=xsadmin
XSADMIN_PASSWORD=xsadmin
XSADMIN_TRUST_PATH=<unspecified>
XSADMIN_TRUST_TYPE=<unspecified>
XSADMIN_TRUST_PASS=<unspecified>
XSADMIN_PROFILE=/opt/ibm/WebSphere/wxs71/ObjectGrid/properties/test.properties
XSADMIN_JMX_HOST=localhost
XSADMIN_JMX_PORT=portNotSpecified
XSADMIN_JMX_URL=<unspecified>
XSADMIN_DMGR=false
**********************************
Properties file specified arguments
************************************
XSADMIN_USERNAME=xcadmin
XSADMIN_PASSWORD=xcadmin
XSADMIN_TRUST_PATH=/opt/ibm/WebSphere/wxs71/ObjectGrid/security/trust.jks
XSADMIN_TRUST_TYPE=jks
XSADMIN_TRUST_PASS=ogpass
XSADMIN_JMX_HOST=<unspecified>
XSADMIN_JMX_PORT=<unspecified>
XSADMIN_JMX_URL=<unspecified>
XSADMIN_DMGR=<unspecified>
**********************************
Environment-specified arguments
**********************************
XSADMIN_USERNAME=<unspecified>
XSADMIN_PASSWORD=<unspecified>
XSADMIN_TRUST_PATH=<unspecified>
XSADMIN_TRUST_TYPE=<unspecified>
XSADMIN_TRUST_PASS=<unspecified>
XSADMIN_JMX_HOST=<unspecified>
XSADMIN_JMX_PORT=<unspecified>
XSADMIN_JMX_URL=<unspecified>
XSADMIN_DMGR=<unspecified>
**********************************
Effective command line arguments
**********************************
XSADMIN_USERNAME=xcadmin
XSADMIN_PASSWORD=xcadmin
XSADMIN_TRUST_PATH=/opt/ibm/WebSphere/wxs71/ObjectGrid/security/trust.jks
XSADMIN_TRUST_TYPE=jks
XSADMIN_TRUST_PASS=ogpass
XSADMIN_PROFILE=/opt/ibm/WebSphere/wxs71/ObjectGrid/properties/test.properties
XSADMIN_JMX_HOST=localhost
XSADMIN_JMX_PORT=portNotSpecified
XSADMIN_JMX_URL=<unspecified>
XSADMIN_DMGR=false
SSL authentication enabled: true
**********************************

In the prior verbose output, "Effective command line arguments" refers to settings that override values from both other methods: using a properties file or as environmentally set attributes.


Parent topic:

Monitor with the xsAdmin sample utility