Getting the Status of an Enterprise

Procedure

  1. In the build file, add a target named status.

    For a sample file, see enterprise_suspend_build.xml.

    <target name="status">
    <AMXAdminTask
    ...
    ...
    />
    </target>
  2. In the AMXAdminTask element of the statusReadOnly target, set the action attribute to status and the objectSelector attribute to Enterprise.
    <AMXAdminTask
    			remote="true"
    			propsFile="${instanceProperties}"
    			action="status"
    			dataFile="${dataFile}"
    			objectSelector="Enterprise"
    			failOnError="false"
    />
  3. Invoke the command-line interface on the build file.

Result

For a sample output, refer to Sample: Getting the Status of an Enterprise.